Skip to content

Web Compatibility #187

Closed
Closed

Description

@jgraham

Description

A focus area for small bugs that cause known site compatibility issues, or documented problems for authors creating libraries or sites, but which are not part of a larger feature that's appropriate for its own focus area.

Rationale

Observed compatibility bugs which cause breakage for users are often not missing features, but specific cases where existing browsers don't follow the spec for features that are implemented. On their own these would be hard to fit into the Interop process since a focus area for a single bug, however important, is hard to weigh as part of the metric. However having a single focus area for these issues seems to have worked well in 2022, with browsers going from ~20% to ~100%, and fixing several bugs that were known to cause problems for users, but had not previously got priority.

Specification

All included bugs will have a specification (although in some cases it may be that "success" is changing the specification, testcase, and "conforming" implementations to match what's actually required by compat).

Inclusions will be motivated by observed compat issues (e.g. in webcompat.com or author-reported issues that they've had to work around when developing libraries.

Tests

Since this is a somewhat miscellaneous selection of bugs, it's anticipated that tests may be added from other focus areas where the overall focus area doesn't get priority but there are a small number of observed pain points which do get priority. During the selection process participants can request removal of any tests that would cause them to object to the proposal.

Suggested bugs / rationale (tests to be added):

Activity

  1. jgraham commented on Oct 5, 2022

    @jgraham
    ContributorAuthor

    Note that this is not yet a complete set of bugs / tests and I expect more to be added before the start of the selection period.

  2. added this to the milestone on Oct 5, 2022
  3. moved this to Proposed in Interop 2023on Oct 7, 2022
  4. removed this from the milestone on Oct 7, 2022
  5. added
    compat-bug-proposal
    on Oct 16, 2022
  6. gsnedders commented on Oct 16, 2022

    @gsnedders
    Member

    What's the status of #27? Does that make sense to include at this point?

  7. progers commented on Oct 26, 2022

    @progers

    @karlcow , what approach did you use to generate the list of bugs in #187 (comment)?

  8. karlcow commented on Oct 27, 2022

    @karlcow

    @progers So exactly what I said in the previous comment

    • failing in Chrome.
    • working in both Firefox and Safari

    starting with the Interop List of Bugs opened on the Chromium project and checking which one mentioned the other browsers and selecting those where Firefox and Safari implementations were aligned. This is far to be perfect and the list could be a lot longer.

    The why is maybe more interesting.

    Webcompat issues are often created by the de facto implementation of the dominant market share browser. Both WebKit and Gecko teams can testify about this, where a bug is reported for a site breaking in Firefox or Safari, while they have the correct behavior, but the web developer assumed that the correct was Chrome's one, because the webdev worked exclusively with Chrome. The result is that other browsers have to implement quirks, site interventions or worse change the spec to align on chrome behavior.

    So by fixing these paper cuts (if they are real bugs on Chrome side) would make it possible to avoid webcompat pressures on other engines and avoid confusion for web developers.

    I hope it helps.

  9. bfgeek commented on Oct 27, 2022

    @bfgeek

    I think the above approach can likely be improved upon. Bugs are marked "interop" in the chromium bug tracking in a somewhat haphazard fashion. E.g. the above list includes bugs filed by chromium engineers noting a difference - but no evidence this affects a real world site (bugs filed by web developers have a higher probability however).

    Examples of the specific issue being a repeat issue (e.g. references from the webcompat.com project) would be helpful to indicate that the bug is an issue (the overlay example is great for example).

  10. bfgeek commented on Oct 27, 2022

    @bfgeek

    Regarding crbug.com/1293302 specifically - we believe (from my understanding of the issue) is that the Blink behaviour is correct - and there are existing WPTs which are partially covering the issue (however they could be expanded):
    https://wpt.fyi/results/css/css-grid/layout-algorithm/grid-flex-track-intrinsic-sizes-002.html

    I'll double check with Ethan - but we'll likely WontFix this specific issue.

  11. jgraham commented on Oct 27, 2022

    @jgraham
    ContributorAuthor

    From a gecko point of view "bug which got filed on blink but where the blink behaviour is now / was always correct" isn't a reason to remove the bug; it's a reason to ensure that it's fixed in gecko instead (it could, for example, be a case where we're operating on outdated assumptions about the correct behaviour). Of course it's even higher priority if we have evidence of widespread usage of the relevant feature, or active breakage. In this specific case I think the relevant gecko bug is https://bugzilla.mozilla.org/show_bug.cgi?id=1530097, which is indeed associated with a number of cases of breakage.

  12. gsnedders commented on Oct 27, 2022

    @gsnedders
    Member

    @jgraham what's your plan for this currently being "not yet a complete set of bugs"? how are we coming up with the list of compat bugs here?

  13. 24 remaining items

  14. bfgeek commented on Jan 12, 2023

    @bfgeek

    What about issues mentioned in #187 (comment) ?

  15. jgraham commented on Jan 12, 2023

    @jgraham
    ContributorAuthor

    @bfgeek I thought those tests were being added to grid / flexbox focus areas. I agree they're important and shouldn't be lost.

  16. bfgeek commented on Jan 12, 2023

    @bfgeek

    I thought those tests were being added to grid / flexbox focus areas. I agree they're important and shouldn't be lost.

    Should:

    • Flexbox/abspos paint order
    • Increase sizes to accommodate spanning items crossing flexible tracks

    Also be dropped from this particular area as they are already in the grid/flexbox focus areas?

  17. bfgeek commented on Jan 12, 2023

    @bfgeek

    (Just after consistency about how we think of these)

  18. andreubotella commented on Jan 12, 2023

    @andreubotella
    Member

    I'm currently looking into fixing this in Blink, and working on a more comprehensive WPT test. Note that the Chromium bug isn't just about white-space: break-spaces, but about how it interacts with element boundaries when line breaking.

    Also, I don't think https://wpt.fyi/results/css/CSS2/text/text-align-white-space-003.xht is related to this issue at all, since this is about whether text-align: justify does anything when the line has no collapsible white space, which is not a requirement (keyword "may") in the spec:

    If an element’s white space is not collapsible, then the UA is not required to adjust its text for the purpose of justification and may instead treat the text as having no justification opportunities.

  19. jgraham commented on Jan 13, 2023

    @jgraham
    ContributorAuthor

    @andreubotella how soon do you expect to have tests in wpt? If not in the next coupld of weeks, could we start by merging and tagging the test I ported and then replacing it once your tests are landed?

  20. jgraham commented on Jan 13, 2023

    @jgraham
    ContributorAuthor

    @bfgeek I don't mind moving those into flexbox/grid tests instead of here.

  21. jgraham commented on Jan 13, 2023

    @jgraham
    ContributorAuthor
  22. bfgeek commented on Jan 13, 2023

    @bfgeek

    I don't mind moving those into flexbox/grid tests instead of here.
    @jgraham sg - to be clear I don't mind either way - just consistency. The two tests for those are already part of the flex/grid test suites.

  23. andreubotella commented on Jan 17, 2023

    @andreubotella
    Member

    @andreubotella how soon do you expect to have tests in wpt? If not in the next coupld of weeks, could we start by merging and tagging the test I ported and then replacing it once your tests are landed?

    I already opened a PR: web-platform-tests/wpt#37985

  24. johannesodland commented on Jan 18, 2023

    @johannesodland

    I know it might be too late, but I'll post this combat issue here and leave it up to you to decide if it can be included in interop 2023 or not.

    There are some interop issues on ::first-letter when it comes to including punctuation and whitespace. This prevents some international authors and users from using ::first-letter in their sites, as it will not match their typographic conventions. It's a small issue, but it excludes many authors and users from using the pseudo element.

    The spec includes punctuation and whitespace before and after the initial letter, as defined in css-pseudo-4. Browsers are not interoperable and supports punctuation and whitespace to a varying degree:

    Safari:
    Whitespace: supported
    Punctuation: partial support

    Chrome:
    Whitespace: not supported
    Punctuation: partial support

    Firefox:
    Whitespace: not supported
    Punctuation: partial support

    There is a crude test in WPT. It currently fails for all browsers:
    https://wpt.fyi/results/css/css-pseudo/first-letter-punctuation-and-space.html?label=master&label=experimental&aligned

    There are open issues in all browsers here:
    https://bugs.chromium.org/p/chromium/issues/detail?id=1163175
    https://bugs.webkit.org/show_bug.cgi?id=179815
    https://bugzilla.mozilla.org/show_bug.cgi?id=602459

  25. jgraham commented on Jan 18, 2023

    @jgraham
    ContributorAuthor

    I know it might be too late, but I'll post this combat issue here and leave it up to you to decide if it can be included in interop 2023 or not.

    Unfortunately the proposal period for Interop 2023 is indeed over.

    You are of course welcome (and encouraged!) to propose ::first-letter for a future round of Interop. However, based on the description so far it doesn't sound like it would be part of a Web Compatibility focus area; this is usually for browser differences in existing features that are breaking sites in the wild. Features that are poorly supported across browsers typically get their own top-level proposal.

  26. added
    accepted
    on Feb 1, 2023
  27. foolip commented on Feb 1, 2023

    @foolip
    Member

    Thank you for proposing Web Compatibility for inclusion in Interop 2023.

    We are pleased to let you know that this proposal was accepted as the Web Compat 2023 focus area. You can follow the progress of this Focus Area on the Interop 2023 dashboard.

    For an overview of our process, see the proposal selection summary. Thank you for contributing to Interop 2023!

    Posted on behalf of the Interop team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedcompat-bug-proposalfocus-area-proposal

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions