[webkit-changes] [WebKit/WebKit] 840ec4: Don't force display:table-cell, display:inline-tab...
EWS
noreply at github.com
Wed Sep 14 07:52:56 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 840ec41f4b7e4d6a8f4d3336fdde6054561128d9
https://github.com/WebKit/WebKit/commit/840ec41f4b7e4d6a8f4d3336fdde6054561128d9
Author: Ahmad Saleem <ahmad.saleem792 at gmail.com>
Date: 2022-09-14 (Wed, 14 Sep 2022)
Changed paths:
M LayoutTests/editing/execCommand/insertHTML-expected.txt
M LayoutTests/editing/execCommand/insertHTML.html
M LayoutTests/editing/pasteboard/innerText-inline-table.html
M LayoutTests/editing/selection/inline-table.html
M LayoutTests/editing/selection/table-caret-3.html
M LayoutTests/fast/borders/table-borders.html
M LayoutTests/fast/dom/inner-text-001.html
M LayoutTests/fast/table/floating-th.html
A LayoutTests/fast/table/quirks-mode-ignore-display-inline-table-expected.txt
A LayoutTests/fast/table/quirks-mode-ignore-display-inline-table.html
M LayoutTests/fast/table/table-display-types-vertical.html
M LayoutTests/fast/table/table-display-types.html
M LayoutTests/platform/glib/fast/table/table-display-types-expected.txt
M LayoutTests/platform/glib/fast/table/table-display-types-vertical-expected.txt
M LayoutTests/platform/gtk/fast/table/table-display-types-expected.png
M LayoutTests/platform/gtk/fast/table/table-display-types-vertical-expected.png
M LayoutTests/platform/ios/fast/table/table-display-types-expected.txt
M LayoutTests/platform/ios/fast/table/table-display-types-vertical-expected.txt
M LayoutTests/platform/mac/fast/encoding/utf-16-big-endian-expected.png
M LayoutTests/platform/mac/fast/encoding/utf-16-big-endian-expected.txt
M LayoutTests/platform/mac/fast/encoding/utf-16-little-endian-expected.png
M LayoutTests/platform/mac/fast/encoding/utf-16-little-endian-expected.txt
M LayoutTests/platform/mac/fast/table/table-display-types-expected.png
M LayoutTests/platform/mac/fast/table/table-display-types-expected.txt
M LayoutTests/platform/mac/fast/table/table-display-types-vertical-expected.png
M LayoutTests/platform/mac/fast/table/table-display-types-vertical-expected.txt
M Source/WebCore/style/StyleAdjuster.cpp
Log Message:
-----------
Don't force display:table-cell, display:inline-table/table and float:none on table cell elements when in quirks mode
Don't force display:table-cell, display:inline-table/table and float:none on table cell elements when in quirks mode
https://bugs.webkit.org/show_bug.cgi?id=244947
Reviewed by Alan Bujtas.
Merge - https://chromium.googlesource.com/chromium/src.git/+/0aea8a9a12d5a3b60bb022953825f900f90e7b4b and https://chromium.googlesource.com/chromium/src.git/+/95773a85549dc14dbb42d665dadd7875d05df0a1
This is to remove the quirk mode behaviors:
1. force table cell elements to display:table-cell and float:none
2. force table elements to display:inline-table or table
Both of these were not implemented in Gecko but Blink also dropped them in 2016 to align with Gecko. This patch aims to align now all web engines.
* Source/WebCore/style/StyleAdjuster.cpp
(Adjuster::adjust) - Remove "Quirks" conditions
* LayoutTests/editing/execCommand/insertHTML-expected.txt - Updated Expectations
* LayoutTests/editing/execCommand/insertHTML.html - Updated Test
* LayoutTests/editing/pasteboard/innerText-inline-table.html - Updated Test
* LayoutTests/editing/selection/inline-table.html - Updated Test
* LayoutTests/editing/selection/table-caret-3.html - Updated Test
* LayoutTests/fast/borders/table-borders/html - Updated Test
* LayoutTests/fast/dom/inner-text-001.html - Updated Test
* LayoutTests/fast/table/floating-th.html - Updated Test
* LayoutTests/fast/table/quirks-mode-ignore-display-inline-table.html - Added new Test
* LayoutTests/fast/table/quirks-mode-ignore-display-inline-table-expected.txt - Added Test Expectations
* LayoutTests/fast/table/table-display-types-vertical.html - Updated Test
* LayoutTests/fast/table/table-display-types.html - Updated Test
* LayoutTests/platform/gtk/fast/table/table-display-types-expected.png - Updated Expectations
* LayoutTests/platform/gtk/fast/table/table-display-types-vertical-expected.png - Updated Expectations
* LayoutTests/platform/glib/fast/table/table-display-types-expected.txt - Updated Expectations
* LayoutTests/platform/glib/fast/table/table-display-types-vertical-expected.txt - Updated Expectations
* LayoutTests/platform/ios/fast/table/table-display-types-expected.txt - Updated Expectations
* LayoutTests/platform/ios/fast/table/table-display-types-vertical-expected.txt - Updated Expectations
* LayoutTests/platform/mac/fast/encoding/utf-16-big-endian-expected.png - Updated Expectations
* LayoutTests/platform/mac/fast/encoding/utf-16-big-endian-expected.txt - Updated Expectations
* LayoutTests/platform/mac/fast/encoding/utf-16-little-endian-expected.png - Updated Expectations
* LayoutTests/platform/mac/fast/encoding/utf-16-little-endian-expected.txt - Updated Expectations
* LayoutTests/platform/mac/fast/table/table-display-types-expected.png - Updated Expectations
* LayoutTests/platform/mac/fast/table/table-display-types-vertical-expected.png - Updated Expectations
* LayoutTests/platform/mac/fast/table/table-display-types-expected.txt - Updated Expectations
* LayoutTests/platform/mac/fast/table/table-display-types-vertical-expected.txt - Updated Expectations
Canonical link: https://commits.webkit.org/254475@main
More information about the webkit-changes
mailing list