mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision c2b30ef30749b6a8f2cc832761dfe011e63d5e94
This commit is contained in:
parent
987e376ca7
commit
eda9b9b73a
142 changed files with 3513 additions and 851 deletions
|
@ -9,6 +9,7 @@ testText("<div>abc\ndef", "abc def", "\\n converted to space");
|
|||
testText("<div>abc\rdef", "abc def", "\\r converted to space");
|
||||
testText("<div>abc\tdef", "abc def", "\\t converted to space");
|
||||
testText("<div>abc <br>def", "abc\ndef", "Trailing whitespace before hard line break removed");
|
||||
testText("<div>abc<br> def", "abc\ndef", "Leading whitespace after hard line break removed");
|
||||
|
||||
/**** <pre> ****/
|
||||
|
||||
|
@ -52,6 +53,9 @@ testText("<div style='white-space:pre-line'>abc\tdef", "abc def", "\\t converted
|
|||
testText("<div><span>abc </span> def", "abc def", "Whitespace collapses across element boundaries");
|
||||
testText("<div><span>abc </span><span></span> def", "abc def", "Whitespace collapses across element boundaries");
|
||||
testText("<div><span>abc </span><span style='white-space:pre'></span> def", "abc def", "Whitespace collapses across element boundaries");
|
||||
testText("<div>abc <input> def", "abc def", "Whitespace around <input> should not be collapsed");
|
||||
testText("<div>abc <span style='display:inline-block'></span> def", "abc def", "Whitespace around inline-block should not be collapsed");
|
||||
testText("<div>abc <span style='display:inline-block'> def </span> ghi", "abc def ghi", "Trailing space at end of inline-block should be collapsed");
|
||||
|
||||
/**** Soft line breaks ****/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue