Closed Bug 1384228 Opened 7 years ago Closed 7 years ago

Stylo: Style tag without leading whitespace breaks dev tools inspector rules panel

Categories

(Core :: CSS Parsing and Computation, defect)

56 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1380890

People

(Reporter: jkuehle90, Unassigned)

Details

Attachments

(1 file)

When Stylo (layout.css.servo.enabled) is enabled, a style tag without leading whitespace breaks the rules panel of the inspector. It stays completely empty. Additionally I see the following logs in the browser console: <unavailable> protocol.js:940 Protocol error (unknownError): couldn't find start of the rule utils.js:207 Protocol error (unknownError): couldn't find start of the rule rules.js:809 This breaks: <style>body{background: red;}</style> This works: <style> body{background: red;}</style> Without Stylo, both examples work fine. Full example to reproduce the issue (select the body element in the inspector): <!DOCTYPE html> <html> <head> <style>body{background: red;}</style> </head> <body> </body> </html>
What Nightly build are you using? This sounds a lot like bug 1380890, which should be fixed in today's 20170725 Nightly.
Flags: needinfo?(jkuehle90)
about:support shows this: Version 56.0a1 Build ID 20170725030209
Flags: needinfo?(jkuehle90)
Ah, okay, looks like I needed more precision... The first Nightly with the change is 20170725144053 for Linux and Mac, none for Windows yet, so that's ~11 hours later than the one you have now. So, please check again in the next Nightly update (potentially tomorrow) for your platform. Setting ni? again as a reminder.
Flags: needinfo?(jkuehle90)
Tried again today after updating Nightly and the bug is indeed gone. Thanks for you quick help. Tested with this build: Version 56.0a1 Build ID 20170726030207 OS Windows_NT 10.0 Should I close this as a duplicate?
Flags: needinfo?(jkuehle90)
(In reply to Jan Kühle from comment #4) > Tried again today after updating Nightly and the bug is indeed gone. Thanks > for you quick help. > > Tested with this build: > Version 56.0a1 > Build ID 20170726030207 > OS Windows_NT 10.0 > > Should I close this as a duplicate? Great to hear, thanks for confirming! I'll take of it. :)
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: