Skip to content

Commit e529875

Browse files
committed
Bug 1935081 [wpt PR 49516] - Fix failing WPTs introduced by https://crrev.com/c/5937916, a=testonly
Automatic update from web-platform-tests Fix failing WPTs introduced by https://crrev.com/c/5937916 There are few failures introduced by WPT import in the editing component where the editing includes insertHTML command alongwith the white-space CSS properties. This CL fixes the failing WPTs by setting the expectation as per the CSS specification linked below. This change only updates the expectation for the failing WPTs which were introduced by this[1] CL and seem to have wrong expectations. [1] https://crrev.com/c/5937916 [2] https://www.w3.org/TR/css-text-3/#white-space-property Bug: 373924023 Change-Id: I31f2e63275e986c37cc423c5b0c878296d8ee5a6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5960541 Reviewed-by: Siye Liu <siliumicrosoft.com> Reviewed-by: Kent Tamura <tkentchromium.org> Commit-Queue: Utkarsh Pathak <utpathakmicrosoft.com> Cr-Commit-Position: refs/heads/main{#1391524} -- wpt-commits: e427710950c5a8ec3aea974db7d42f6b5631ff3c wpt-pr: 49516 UltraBlame original commit: 5468b94323f7a0bc4de0aa87cd42a9e8a6f345a6
1 parent 6deba17 commit e529875

File tree

1 file changed

+100
-6
lines changed

1 file changed

+100
-6
lines changed

testing/web-platform/tests/editing/data/inserthtml.js

Lines changed: 100 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9909,9 +9909,6 @@ abc
99099909
{
99109910
}
99119911
<
9912-
br
9913-
>
9914-
<
99159912
/
99169913
p
99179914
>
@@ -10459,9 +10456,6 @@ abc
1045910456
-
1046010457
>
1046110458
<
10462-
br
10463-
>
10464-
<
1046510459
/
1046610460
p
1046710461
>
@@ -11242,6 +11236,7 @@ pre
1124211236
"
1124311237
]
1124411238
]
11239+
[
1124511240
"
1124611241
<
1124711242
pre
@@ -11272,6 +11267,37 @@ span
1127211267
pre
1127311268
>
1127411269
"
11270+
"
11271+
<
11272+
pre
11273+
contenteditable
11274+
=
11275+
\
11276+
"
11277+
false
11278+
\
11279+
"
11280+
>
11281+
<
11282+
span
11283+
contenteditable
11284+
=
11285+
\
11286+
"
11287+
\
11288+
"
11289+
>
11290+
abc
11291+
<
11292+
/
11293+
span
11294+
>
11295+
<
11296+
/
11297+
pre
11298+
>
11299+
"
11300+
]
1127511301
[
1127611302
true
1127711303
]
@@ -11337,6 +11363,25 @@ span
1133711363
"
1133811364
]
1133911365
]
11366+
[
11367+
"
11368+
<
11369+
div
11370+
>
11371+
a
11372+
<
11373+
span
11374+
>
11375+
<
11376+
/
11377+
span
11378+
>
11379+
b
11380+
<
11381+
/
11382+
div
11383+
>
11384+
"
1134011385
"
1134111386
<
1134211387
div
@@ -11351,10 +11396,14 @@ span
1135111396
>
1135211397
b
1135311398
<
11399+
br
11400+
>
11401+
<
1135411402
/
1135511403
div
1135611404
>
1135711405
"
11406+
]
1135811407
[
1135911408
true
1136011409
]
@@ -11427,6 +11476,7 @@ span
1142711476
"
1142811477
]
1142911478
]
11479+
[
1143011480
"
1143111481
<
1143211482
div
@@ -11467,6 +11517,50 @@ c
1146711517
div
1146811518
>
1146911519
"
11520+
"
11521+
<
11522+
div
11523+
>
11524+
a
11525+
<
11526+
span
11527+
class
11528+
=
11529+
\
11530+
"
11531+
s1
11532+
\
11533+
"
11534+
>
11535+
<
11536+
/
11537+
span
11538+
>
11539+
b
11540+
<
11541+
span
11542+
class
11543+
=
11544+
\
11545+
"
11546+
s2
11547+
\
11548+
"
11549+
>
11550+
<
11551+
/
11552+
span
11553+
>
11554+
c
11555+
<
11556+
br
11557+
>
11558+
<
11559+
/
11560+
div
11561+
>
11562+
"
11563+
]
1147011564
[
1147111565
true
1147211566
]

0 commit comments

Comments
 (0)