mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Remove interior borders during flow construction
Instead of looking at the boundaries of the text run, set the border width to zero and the border style to none on border sides that are not the outermost for a node container that is display: inline.
This commit is contained in:
parent
8ad3c5aeb6
commit
ec2fa2558c
6 changed files with 74 additions and 9 deletions
|
@ -31,6 +31,7 @@
|
|||
== img_dynamic_remove.html img_dynamic_remove_ref.html
|
||||
== upper_id_attr.html upper_id_attr_ref.html
|
||||
# inline_border_a.html inline_border_b.html
|
||||
== border_code_tag.html border_code_tag_ref.html
|
||||
== anon_block_inherit_a.html anon_block_inherit_b.html
|
||||
== attr_exists_selector.html attr_exists_selector_ref.html
|
||||
== attr_selector_case_sensitivity.html attr_selector_case_sensitivity_ref.html
|
||||
|
|
12
tests/ref/border_code_tag.html
Normal file
12
tests/ref/border_code_tag.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
<html>
|
||||
<head>
|
||||
<style>
|
||||
code {
|
||||
border: 2px solid #ccc;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<code>Quotes: "".</code>
|
||||
</body>
|
||||
</html>
|
12
tests/ref/border_code_tag_ref.html
Normal file
12
tests/ref/border_code_tag_ref.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
<html>
|
||||
<head>
|
||||
<style>
|
||||
code {
|
||||
border: 2px solid #ccc;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<code>Quotes: "".</code>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue