Skip to content

Ignore calc() values on colgroup elements#18900

Merged
webkit-commit-queue merged 1 commit intoWebKit:mainfrom
Ahmad-S792:fix253841-colgroup-calc-css-tables-fix
Oct 11, 2023
Merged

Ignore calc() values on colgroup elements#18900
webkit-commit-queue merged 1 commit intoWebKit:mainfrom
Ahmad-S792:fix253841-colgroup-calc-css-tables-fix

Conversation

@Ahmad-S792
Copy link
Copy Markdown
Contributor

@Ahmad-S792 Ahmad-S792 commented Oct 10, 2023

a47442a

Ignore calc() values on colgroup elements

https://bugs.webkit.org/show_bug.cgi?id=253841
rdar://problem/106692191

Reviewed by Alan Baradlay.

This patch aligns WebKit to Blink / Chromium and Gecko / Firefox.

Merge - https://src.chromium.org/viewvc/blink?view=revision&;revision=193912

This patch add condition to ignore calc() values on 'colgroup' elements to align with
web-spec.

* Source/WebCore/rendering/AutoTableLayout.cpp:
(AutoTableLayout::fullRecalc): Add 'isCalculated' condition
* LayoutTests/fast/table/calculated-width-on-col-within-colgroup.html: Add Test Case
* LayoutTests/fast/table/calculated-width-on-col-within-colgroup-expected.txt: Add Test Case Expectation

Canonical link: https://commits.webkit.org/269200@main

94071c8

Misc iOS, tvOS & watchOS macOS Linux Windows
✅ 🧪 style ✅ 🛠 ios ✅ 🛠 mac ✅ 🛠 wpe ✅ 🛠 wincairo
✅ 🧪 bindings ✅ 🛠 ios-sim ✅ 🛠 mac-AS-debug ✅ 🧪 wpe-wk2
✅ 🧪 webkitperl ✅ 🧪 ios-wk2 ✅ 🧪 api-mac ✅ 🛠 gtk
✅ 🧪 ios-wk2-wpt ✅ 🧪 mac-wk1 ✅ 🧪 gtk-wk2
✅ 🧪 api-ios ✅ 🧪 mac-wk2 ✅ 🧪 api-gtk
✅ 🛠 tv ✅ 🧪 mac-AS-debug-wk2
✅ 🛠 tv-sim ✅ 🧪 mac-wk2-stress
✅ 🛠 🧪 merge ✅ 🛠 watch
✅ 🛠 watch-sim

@Ahmad-S792 Ahmad-S792 added the Tables For bugs specific to tables (both the DOM and rendering issues). label Oct 10, 2023
@Ahmad-S792 Ahmad-S792 self-assigned this Oct 10, 2023
@Ahmad-S792 Ahmad-S792 force-pushed the fix253841-colgroup-calc-css-tables-fix branch from dadb82c to 94071c8 Compare October 10, 2023 19:19
@Ahmad-S792
Copy link
Copy Markdown
Contributor Author

WOW! Not crashing / asserting now. :-) Another win..

@Ahmad-S792 Ahmad-S792 added the merge-queue Applied to send a pull request to merge-queue label Oct 11, 2023
https://bugs.webkit.org/show_bug.cgi?id=253841
rdar://problem/106692191

Reviewed by Alan Baradlay.

This patch aligns WebKit to Blink / Chromium and Gecko / Firefox.

Merge - https://src.chromium.org/viewvc/blink?view=revision&revision=193912

This patch add condition to ignore calc() values on 'colgroup' elements to align with
web-spec.

* Source/WebCore/rendering/AutoTableLayout.cpp:
(AutoTableLayout::fullRecalc): Add 'isCalculated' condition
* LayoutTests/fast/table/calculated-width-on-col-within-colgroup.html: Add Test Case
* LayoutTests/fast/table/calculated-width-on-col-within-colgroup-expected.txt: Add Test Case Expectation

Canonical link: https://commits.webkit.org/269200@main
@webkit-commit-queue webkit-commit-queue force-pushed the fix253841-colgroup-calc-css-tables-fix branch from 94071c8 to a47442a Compare October 11, 2023 14:27
@webkit-commit-queue
Copy link
Copy Markdown
Collaborator

Committed 269200@main (a47442a): https://commits.webkit.org/269200@main

Reviewed commits have been landed. Closing PR #18900 and removing active labels.

@webkit-commit-queue webkit-commit-queue merged commit a47442a into WebKit:main Oct 11, 2023
@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label Oct 11, 2023
@Ahmad-S792 Ahmad-S792 deleted the fix253841-colgroup-calc-css-tables-fix branch October 12, 2023 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Tables For bugs specific to tables (both the DOM and rendering issues).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants