Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
WebKit ignores the nowrap on 'td nowrap="nowrap"', if an absolute wid…
…th is specified WebKit ignores the nowrap on 'td nowrap="nowrap"', if an absolute width is specified https://bugs.webkit.org/show_bug.cgi?id=183642 Reviewed by Tim Nguyen. Merge - https://chromium.googlesource.com/chromium/src/+/5e6c851254f90f6f495713f7248ffe9a155de413 Previously we only applied it when a 'td' element had no fixed-width. This was incorrect behavior and it will align Webkit with Blink and Gecko for Web interop. * Source/WebCore/html/HTMLTableCellElement.cpp (HTMLTableCellElement::hasPresentationalHintsForAttribute): Update nowrap Attribute to respect CSSValueNowrap rather than CSSValueWebkitNowrap * Source/WebCore/style/StyleAdjuster.cpp (Adjuster:adjust): Removed logic about td tag only accepting wrap for Fixed Width * LayoutTests/imported/w3c/web-platform-tests/quirks/table-cell-nowrap-minimum-width-calculation-expected.txt: Updated Test Expectations * LayoutTests/platform/gtk/fast/table/003-expected.png: Updated Test Expectations * LayoutTests/platform/gtk/fast/table/003-expected.txt: Updated Test Expectations * LayoutTests/platform/gtk/fast/tables/021-expected.png: Updated Test Expectations * LayoutTests/platform/glib/fast/tables/021-expected.txt: Updated Test Expectations * LayoutTests/platform/gtk/fast/table/rowspan-paint-order-vertical-expected.png: Updated Test Expectations * LayoutTests/platform/gtk/fast/table/rowspan-paint-order-vertical-expected.txt: Updated Test Expectations * LayoutTests/platform/gtk/tables/mozilla/bugs/bug57828-expected.png: Updated Test Expectations * LayoutTests/platform/gtk/tables/mozilla/bugs/bug78162-expected.png: Updated Test Expectations * LayoutTests/platform/gtk/tables/mozilla/bugs/bug78162-expected.txt: Updated Test Expectations * LayoutTests/platform/gtk/tables/mozilla/bugs/bug92143-expected.txt: Updated Test Expectations * LayoutTests/platform/gtk/tables/mozilla/bugs/bug92143-expected.png: Updated Test Expectations * LayoutTests/platform/ios/fast/table/021-expected.txt: Updated Test Expectations * LayoutTests/platform/ios/fast/table/rowspan-paint-order-vertical-expected.txt: Updated Test Expectations * LayoutTests/platform/ios/tables/mozilla/bugs/bug57828-expected.txt: Updated Test Expectations * LayoutTests/platform/ios/tables/mozilla/bugs/bug78162-expected.txt: Updated Tests Expectations * LayoutTests/platform/ios/tables/mozilla/bugs/bug92143-expected.txt: Updated Tests Expectations * LayoutTests/platform/mac/fast/table/003-expected.png: Updated Tests Expectations * LayoutTests/platform/mac/fast/table/003-expected.txt: Updated Test Expectations * LayoutTests/platform/mac/fast/table/021-expected.png: Updated Test Expectations * LayoutTests/platform/mac/fast/table/021-expected.txt: Updated Test Expectations * LayoutTests/platform/mac/fast/tables/mozilla/bugs/bug57828-expected.png: Updated Test Expectations * LayoutTests/platform/mac/fast/tables/mozilla/bugs/bug57828-expected.txt: Updated Test Expectations * LayoutTests/platform/mac/fast/tables/mozilla/bugs/bug78162-expected.png: Updated Test Expectations * LayoutTests/platform/mac/fast/tables/mozilla/bugs/bug78162-expected.txt: Updated Test Expectations * LayoutTests/platform/mac/fast/tables/mozilla/bugs/bug92143-expected.png: Updated Test Expectations * LayoutTests/platform/mac/fast/tables/mozilla/bugs/bug92143-expected.txt: Updated Test Expectations * LayoutTests/platform/mac/fast/table/rowspan-paint-order-vertical-expected.png: Updated Test Expectations * LayoutTests/platform/mac/fast/table/rowspan-paint-order-vertical-expected.txt: Updated Test Expectations * LayoutTests/platform/glib/mozilla/bugs/bug57828-expected.txt: Updated Test Expectations Canonical link: https://commits.webkit.org/254505@main
- Loading branch information
Showing
32 changed files
with
349 additions
and
397 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
|
||
FAIL The table cell nowrap minimum width calculation quirk, basic assert_equals: quirks mode expected "10px" but got "8px" | ||
FAIL The table cell nowrap minimum width calculation quirk, basic assert_equals: quirks mode expected "10px" but got "2px" | ||
|
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
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
BIN
-4.79 KB
(82%)
LayoutTests/platform/gtk/fast/table/003-expected.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
BIN
-241 Bytes
(96%)
LayoutTests/platform/gtk/fast/table/021-expected.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN
+8.71 KB
(160%)
LayoutTests/platform/gtk/fast/table/rowspan-paint-order-vertical-expected.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
BIN
+8.61 KB
(150%)
LayoutTests/platform/gtk/tables/mozilla/bugs/bug57828-expected.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN
+14.6 KB
(160%)
LayoutTests/platform/gtk/tables/mozilla/bugs/bug78162-expected.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
BIN
+563 Bytes
(100%)
LayoutTests/platform/gtk/tables/mozilla/bugs/bug92143-expected.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.