8000 [css-tables] should 'opacity' be hoisted from the table box to its wrapper box · Issue #324 · w3c/csswg-drafts · GitHub
[go: up one dir, main page]

Skip to content

[css-tables] should 'opacity' be hoisted from the table box to its wrapper box #324

@dbaron

Description

@dbaron

CSS 2.1 specifies, in the rules on tables, a list of properties that, when specified on a table, apply to the table wrapper box rather than the table box.

css-color-3 introduces the opacity property.

I haven't tested carefully yet, but https://bugzilla.mozilla.org/show_bug.cgi?id=1286803 suggests that some but not all browsers include 'opacity' in the list of properties to be hoisted to the table wrapper box. Doing so produces the expected results, in that the caption (inside the table) gets included in the effect of 'opacity'.

I suspect specifying this is the right thing to do, but further testing (e.g., making sure that the implementations that apply the opacity to the caption are actually doing correct group opacity when the table and caption overlap) is probably warranted first.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0