mirror of
https://github.com/servo/servo.git
synced 2025-08-29 09:08:20 +01:00
auto merge of #4952 : bjwbell/servo/borders-txt-nodes, r=pcwalton
Inline fragments that are part of a text run don't have interior borders. So don't draw interior borders or include them when calculating positioning. Fixes https://github.com/servo/servo/issues/4658, where multiple text nodes that are adjacent have distinct borders. r? @Ms2ger, @pcwalton
This commit is contained in:
commit
b2f099026a
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