Closed Bug 1608489 Opened 5 years ago Closed 5 years ago

Add baseURL constructor option for CSSStyleSheet

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: nordzilla, Assigned: nordzilla)

References

Details

Attachments

(2 files)

This is something that should be tested, but is not easily testable until we have implemented the adoptedStyleSheets attribute for DocumentOrShadowRoot in Bug 1608488.

  • Add baseURL constructor option for CSSStyleSheet WebIDL
  • Resolve baseURL in CSSStyleSheet WebIDL Constructor
  • Add WPTs for custom URL, default URL, invalid URL
Summary: Create test to ensure that CSSStyleSheet.replaceSync() is parsing CSS values with the correct base URI. → Add baseURL constructor option for CSSStyleSheet

Depends on D65048

Attachment #9130849 - Attachment description: Bug 1608489 - Add relative semantics for baseURL -- WIP → Bug 1608489 - Add relative semantics for baseURL r=emilio
Pushed by cbrindusan@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9113a0d349b6 Add baseURL constructor option for CSSStyleSheet r=emilio https://hg.mozilla.org/integration/autoland/rev/2c65e495a53e Add relative semantics for baseURL r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/22096 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: