Closed Bug 1986631 Opened 8 months ago Closed 4 months ago

[css-attr] Implement support for type(<syntax>)

Categories

(Core :: CSS Parsing and Computation, task, P3)

task
Points:
2

Tracking

()

RESOLVED FIXED
148 Branch
Tracking Status
firefox148 --- fixed

People

(Reporter: emilio, Assigned: descalante)

References

(Blocks 1 open bug)

Details

(Keywords: dev-doc-complete, Whiteboard: css-attr, [wptsync upstream])

Attachments

(3 files)

type(<syntax>) should be reusable from the typed custom properties support and should be straight-forward. raw-string` should be easy too as that’s the default.

<attr-unit> seems a bit tricky / annoying for our setup (we don’t have a central registry of supported units, though we may want to maybe reuse some of the calc() code).

Might want to implement maybe px, %, and a couple easy ones to get most tests working, and work on the full support / rejiggering our unit set-up in a separate bug.

Actually this seems like close enough, so I'd probably start looking there.

Summary: [css-attr] Implement support for type() → [css-attr] Implement support for type(<syntax>)
Points: --- → 2
Whiteboard: css-attr
Assignee: nobody → descalante
Attachment #9532209 - Attachment description: Bug 1986631 - Implement support for Type(<syntax>) and handle default as raw-string. r=dshin → Bug 1986631 - Implement support for Type(<syntax>) and handle default as raw-string. r=dshin,emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/56811 for changes under testing/web-platform/tests
Whiteboard: css-attr → css-attr, [wptsync upstream]
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 148 Branch
Upstream PR merged by moz-wptsync-bot
QA Whiteboard: [qa-triage-done-c149/b148]

Related issues and pull requests

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: