Skip to content

[css-ui-4] Fallout of change from resulting from https://github.com/w3c/csswg-drafts/issues/11494 #13451

@weinig

Description

@weinig

In #11494 (comment), it was decided that:

Summary of the resolution as I understand it:

  1. column-rule-*, border-*, and outline-* are all under consideration
  2. Computed value for *-width should be independent of *-style, i.e. remove the none/hidden special behavior from this stage
  3. Resolved value (i.e. getComputedStyle) for border-width should continue to return 0 if border-style is none/hidden, for compat reasons
  4. If also needed for compat, apply 3 to outline-width and column-rule-width as well

I implemented this in WebKit very recently, and we have so far received one regression report: https://bugs.webkit.org/show_bug.cgi?id=306818.

In the report, the authors code was assuming that the computed style of outline-width would be 0 when outline-style was none.

I'm not clear on exactly what criteria we should apply for considering instituting step 4 for outline-width (e.g. giving outline-width a resolved value of 0 when outline-style is none), this is one data point in favor of it.

cc kbabbitt @emilio @fantasai @tabatkins

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions