w3c / w3c/csswg-drafts

[css-writing-modes] The interaction between display:contents and unicode-bidi should be clearly defined and tested

Open
#9,897 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

css-display-3 css-writing-modes-4
Dominant language
Bikeshed
Stars
4.9k
Forks
816
PR merge metrics
PR metrics pending

Description

The interaction between the unicode-bidi property and display: contents should probably be defined more clearly than it is today, and also tested. In at least Chrome, at least some values of unicode-bidi work on elements that are display: contents. We should both decide what the desired behavior is and make sure there are tests for it. (There may be some behaviors that are clearly defined today because of explicit wording in the spec that was written before display: contents existed, but those definitions may not really be what we want.)

(This came from a review comment I made on a Chromium CL.)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the CSS Writing Modes Level 4 unicode-bidi section and the CSS Display Level 3 display: contents definition, then review the linked Chromium review comment for the motivating behavior. Determine the intended interaction, document the agreed specification wording, and add tests covering the relevant unicode-bidi values on display: contents elements.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.