-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1626150 [wpt PR 22553] - Added 6 break-spaces and new line tests,…
… a=testonly Automatic update from web-platform-tests Added 6 break-spaces and new line tests (#22553) -- wpt-commits: 20a217cb8488e4339e0c9610aba99e2654b676c3 wpt-pr: 22553 UltraBlame original commit: 0c924492fd7f9dfc9a2ff6b69a13d1c5650f6286
- Loading branch information
Showing
6 changed files
with
2,336 additions
and
0 deletions.
There are no files selected for viewing
394 changes: 394 additions & 0 deletions
394
testing/web-platform/tests/css/css-text/white-space/break-spaces-newline-011.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,394 @@ | ||
< | ||
! | ||
DOCTYPE | ||
html | ||
> | ||
< | ||
meta | ||
charset | ||
= | ||
" | ||
UTF | ||
- | ||
8 | ||
" | ||
> | ||
< | ||
title | ||
> | ||
CSS | ||
Text | ||
: | ||
' | ||
white | ||
- | ||
space | ||
: | ||
break | ||
- | ||
spaces | ||
' | ||
with | ||
4 | ||
white | ||
spaces | ||
and | ||
4 | ||
line | ||
feeda | ||
< | ||
/ | ||
title | ||
> | ||
< | ||
link | ||
rel | ||
= | ||
" | ||
author | ||
" | ||
title | ||
= | ||
" | ||
G | ||
rard | ||
Talbot | ||
" | ||
href | ||
= | ||
" | ||
http | ||
: | ||
/ | ||
/ | ||
www | ||
. | ||
gtalbot | ||
. | ||
org | ||
/ | ||
BrowserBugsSection | ||
/ | ||
css21testsuite | ||
/ | ||
" | ||
> | ||
< | ||
link | ||
rel | ||
= | ||
" | ||
help | ||
" | ||
href | ||
= | ||
" | ||
https | ||
: | ||
/ | ||
/ | ||
www | ||
. | ||
w3 | ||
. | ||
org | ||
/ | ||
TR | ||
/ | ||
css | ||
- | ||
text | ||
- | ||
3 | ||
/ | ||
# | ||
white | ||
- | ||
space | ||
- | ||
property | ||
" | ||
> | ||
< | ||
link | ||
rel | ||
= | ||
" | ||
match | ||
" | ||
href | ||
= | ||
" | ||
. | ||
. | ||
/ | ||
. | ||
. | ||
/ | ||
reference | ||
/ | ||
ref | ||
- | ||
filled | ||
- | ||
green | ||
- | ||
100px | ||
- | ||
square | ||
. | ||
xht | ||
" | ||
> | ||
< | ||
link | ||
rel | ||
= | ||
" | ||
stylesheet | ||
" | ||
type | ||
= | ||
" | ||
text | ||
/ | ||
css | ||
" | ||
href | ||
= | ||
" | ||
/ | ||
fonts | ||
/ | ||
ahem | ||
. | ||
css | ||
" | ||
> | ||
< | ||
meta | ||
content | ||
= | ||
" | ||
" | ||
name | ||
= | ||
" | ||
flags | ||
" | ||
> | ||
< | ||
meta | ||
content | ||
= | ||
" | ||
This | ||
test | ||
checks | ||
that | ||
when | ||
' | ||
white | ||
- | ||
space | ||
' | ||
is | ||
set | ||
to | ||
' | ||
break | ||
- | ||
spaces | ||
' | ||
then | ||
line | ||
feeds | ||
( | ||
& | ||
amp | ||
; | ||
NewLine | ||
; | ||
in | ||
the | ||
code | ||
) | ||
are | ||
preserved | ||
just | ||
like | ||
with | ||
' | ||
white | ||
- | ||
space | ||
: | ||
pre | ||
' | ||
or | ||
with | ||
' | ||
white | ||
- | ||
space | ||
: | ||
pre | ||
- | ||
wrap | ||
' | ||
. | ||
" | ||
> | ||
< | ||
style | ||
> | ||
div | ||
{ | ||
font | ||
- | ||
family | ||
: | ||
Ahem | ||
; | ||
font | ||
- | ||
size | ||
: | ||
25px | ||
; | ||
line | ||
- | ||
height | ||
: | ||
1 | ||
; | ||
width | ||
: | ||
4em | ||
; | ||
} | ||
div | ||
# | ||
overlapped | ||
- | ||
red | ||
- | ||
reference | ||
{ | ||
background | ||
- | ||
color | ||
: | ||
red | ||
; | ||
height | ||
: | ||
4em | ||
; | ||
} | ||
div | ||
# | ||
overlapping | ||
- | ||
green | ||
- | ||
test | ||
{ | ||
background | ||
- | ||
color | ||
: | ||
green | ||
; | ||
bottom | ||
: | ||
4em | ||
; | ||
color | ||
: | ||
red | ||
; | ||
position | ||
: | ||
relative | ||
; | ||
white | ||
- | ||
space | ||
: | ||
break | ||
- | ||
spaces | ||
; | ||
} | ||
< | ||
/ | ||
style | ||
> | ||
< | ||
p | ||
> | ||
Test | ||
passes | ||
if | ||
there | ||
is | ||
a | ||
filled | ||
green | ||
square | ||
and | ||
< | ||
strong | ||
> | ||
no | ||
red | ||
< | ||
/ | ||
strong | ||
> | ||
. | ||
< | ||
div | ||
id | ||
= | ||
" | ||
overlapped | ||
- | ||
red | ||
- | ||
reference | ||
" | ||
> | ||
< | ||
/ | ||
div | ||
> | ||
< | ||
div | ||
id | ||
= | ||
" | ||
overlapping | ||
- | ||
green | ||
- | ||
test | ||
" | ||
> | ||
& | ||
NewLine | ||
; | ||
& | ||
NewLine | ||
; | ||
& | ||
NewLine | ||
; | ||
& | ||
NewLine | ||
; | ||
< | ||
/ | ||
div | ||
> |
Oops, something went wrong.