Re: [blink-dev] Intent to Ship: CSS Nesting

2023-02-01 Thread 'Steinar H. Gunderson' via blink-dev
On Wed, Feb 01, 2023 at 12:27:08AM -0800, obr...@igalia.com wrote:
> For example, https://github.com/w3c/csswg-drafts/issues/5745 resolved to 
> accept the selector & everywhere, defaulting it to :scope. But from a quick 
> test it seems that querySelector and querySelectorAll just return null or 
> empty array. I guess that implementing this properly may wait, but then 
> meanwhile it would probably be better to make these methods throw as they 
> do for invalid selectors.

FWIW, this change was sent for review as soon as I actually foud out
that the spec had changed (which was yesterday afternoon, so the patch
hasn't been reviewed yet). We couldn't throw, because & on top-level was
allowed before, just defined never to match.

/* Steinar */

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blink-dev+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/Y9okD61zk7QBCOvV%40google.com.


Re: [blink-dev] Intent to Ship: CSS Nesting

2023-01-23 Thread 'Steinar H. Gunderson' via blink-dev
On Mon, Jan 23, 2023 at 11:37:21AM -0500, Mike Taylor wrote:
> I spent quite a lot of time trying to understand the issues around nesting
> syntax. It looks like the CSSWG resolved to adopt "Option 3", with
> representatives from all 3 engines voting in favor - and the WebKit blog
> survey also resulted in "Option 3" as the top choice.
> 
> Do we know if the other engines have started work on implementation of
> Option 3?

As far as I know, WebKit is indeed working an implementation of Option 3.

/* Steinar */

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blink-dev+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/Y87B/PQu7BSOUyLR%40google.com.


[blink-dev] Intent to Ship: CSS Nesting

2023-01-20 Thread 'Steinar H. Gunderson' via blink-dev
Contact emails: se...@chromium.org, futh...@chromium.org
Explainer: None

Specification: https://drafts.csswg.org/css-nesting

Summary: Add the ability to nest CSS style rules inside other style rules,
combining selectors from the outer with the inner rule for increasing
modularity and maintainability of style sheets.

Blink component: Blink>CSS

TAG review: https://github.com/w3ctag/design-reviews/issues/791

TAG review status: Pending

Risks: There is a threat of a formal objection in CSSWG.

Interoperability and Compatibility:

Gecko: Positive (https://github.com/mozilla/standards-positions/issues/695)
WebKit: Positive (https://github.com/WebKit/standards-positions/issues/69)

Debuggability
Nesting style rules will be a big change for editing and displaying style rules 
in the inspector:

- Showing displaying nested rules for matching declarations
- Editing selectors
- Inserting nested rules
- etc...

Tracking issue for devtools support: https://crbug.com/1172985
Devtools says they're on track for shipping in M111.

Will this feature be supported on all six Blink platforms (Windows, Mac, Linux,
Chrome OS, Android, and Android WebView)? Yes

Is this feature fully tested by web-platform-tests? Yes

Flag name: CSSNesting

Requires code in //chrome? False

Tracking bug: https://crbug.com/1095675

Estimated milestones
DevTrial on desktop 109
DevTrial on Android 109
Shipping112


Anticipated spec changes: See above.

Link to entry on the Chrome Platform Status:
https://chromestatus.com/feature/5800613594529792

Links to previous Intent discussions:
Intent to prototype: 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/YzrEmc%2BqlqPv72Au%40google.com

-- 
Software Engineer, Google Norway

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blink-dev+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/Y8ph9gk50U2D92f3%40google.com.


[blink-dev] Intent to Prototype: CSS Nesting

2022-10-03 Thread 'Steinar H. Gunderson' via blink-dev
Contact emails: se...@chromium.org
Explainer: None

Specification: https://drafts.csswg.org/css-nesting

Summary: Add the ability to nest CSS style rules inside other style rules,
combining selectors from the outer with the inner rule for increasing
modularity and maintainability of style sheets.

Blink component: Blink>CSS

TAG review: None yet

Interoperability and Compatibility

Gecko: No signal yet (https://github.com/mozilla/standards-positions/issues/695)
WebKit: No signal yet (https://github.com/WebKit/standards-positions/issues/69)
Web developers: No signal yet

Debuggability: Nesting style rules will be a big change for editing and
displaying style rules in the inspector:

- Showing displaying nested rules for matching declarations
- Editing selectors
- Inserting nested rules
- etc...

Tracking issue for devtools support: https://crbug.com/1172985

Is this feature fully tested by web-platform-tests?
No

Requires code in //chrome?
False

Tracking bug: https://crbug.com/1095675

Estimated milestones: No milestones specified

Link to entry on the Chrome Platform Status:
https://chromestatus.com/feature/5800613594529792

/* Steinar */

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blink-dev+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/YzrEmc%2BqlqPv72Au%40google.com.