Bug 96691 - Table row direction should be determined by the Table's direction
Summary: Table row direction should be determined by the Table's direction
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tables (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: fantasai
URL: http://wpt.live/html/rendering/non-re...
Keywords: BrowserCompat, HasReduction, InRadar, WPTImpact
Depends on:
Blocks:
 
Reported: 2012-09-13 14:00 PDT by Julien Chaffraix
Modified: 2024-09-18 15:20 PDT (History)
11 users (show)

See Also:


Attachments
Test case (1.08 KB, text/html)
2012-09-13 14:00 PDT, Julien Chaffraix
no flags Details
Concept patch: Fixes the bug but is missing the proper rebaselines (7.13 KB, patch)
2012-09-13 14:05 PDT, Julien Chaffraix
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Chaffraix 2012-09-13 14:00:51 PDT
Created attachment 163958 [details]
Test case

Per CSS 2.1, 17.5 Visual layout of table contents:

Point 3: "The first column box may be either on the left or on the right, depending on the value of the ’direction’ property of the table."

Point 5: "The [cell] rectangle must be as far to the left as possible [...] and the cell must be to the right of all cells in the same row that are earlier in the source document. [...] (This constraint holds if the ’direction’ property of the table is ’ltr’; if the ’direction’ is ’rtl’, interchange "left" and "right" in the previous two sentences.)"

All other browsers consistently interpret the "row propagation" direction to be the table's 'direction'. WebKit has an old bug where the row-group direction is used instead.

Note: Some of the test cases from bug 87900 were based on the assumption that our behavior was fine and would need to be updated. It's probably better to wait until bug 79272 is solved to update them though.
Comment 1 Julien Chaffraix 2012-09-13 14:05:08 PDT
Created attachment 163960 [details]
Concept patch: Fixes the bug but is missing the proper rebaselines
Comment 2 Ahmad Saleem 2022-08-30 10:19:08 PDT
I am able to reproduce this bug in Safari Technology Preview 152 using attached "test case" and the lime color test cases does not show up on the left side while purple on right.

Just wanted to share updated testing results. Thanks!
Comment 3 Radar WebKit Bug Importer 2022-08-30 11:59:42 PDT
<rdar://problem/99343532>
Comment 7 EWS 2024-09-18 15:20:18 PDT
Committed 283875@main (86dc22fbb4b7): <https://commits.webkit.org/283875@main>

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