Search found 75 matches

by TomHTML
Wed Oct 04, 2023 11:40 am
Forum: Technical Support
Topic: Possible leniency in :has selector
Replies: 4
Views: 2626

Re: Possible leniency in :has selector

Thanks so much!
by TomHTML
Wed Oct 04, 2023 1:34 am
Forum: Technical Support
Topic: Possible leniency in :has selector
Replies: 4
Views: 2626

Re: Possible leniency in :has selector

I need to revise (if not rescind) my post...it seems that the absence of a combinator or the presence of a simple space before the element/class/id etc. is actually perfectly valid. So, it's the NU Validator that has a bug, and the CSS HTML validator is performing correctly. So, both: .info .fetch-o...
by TomHTML
Tue Oct 03, 2023 11:15 pm
Forum: Technical Support
Topic: Possible leniency in :has selector
Replies: 4
Views: 2626

Possible leniency in :has selector

I had the following blocks in my CSS: .info .fetch-output:has(input) input[name="vertical-list"] { display: revert; } .info .fetch-output:has(:checked) ul { display: block; } The CSS HTML Validator was fine with them, and Chrome seemed to style the HTML as I expected (Firefox, alas, has ye...
by TomHTML
Sun Sep 17, 2023 12:03 pm
Forum: Technical Support
Topic: Bug: Validator doesn't recognize CSS variables in "border"
Replies: 2
Views: 2092

Bug: Validator doesn't recognize CSS variables in "border"

The validator doesn't recognize CSS variables as 3rd argument in "border" (it complains "The <line-width> value has already been specified earlier in the value." and "A CSS error was found that may cause ambiguities and inconsistent presentations of the page": <style> :...
by TomHTML
Sun Sep 17, 2023 11:42 am
Forum: Technical Support
Topic: Bug: transform does not recognize variables
Replies: 1
Views: 1877

Bug: transform does not recognize variables

The validator (v23.0300) seems not to be able to recognize CSS variables used for values of transforms. The following code produces the errors "Expected a valid <transform-function> here" and "A CSS error was found that may cause ambiguities and inconsistent presentations of the page&...
by TomHTML
Wed Jan 25, 2023 7:16 pm
Forum: Technical Support
Topic: Bug: media query value for "sizes" attribute of <source> element not recognized
Replies: 5
Views: 3480

Re: Bug: media query value for "sizes" attribute of <source> element not recognized

Hmm, I've structured my media queries to be inclusive of all sizes, so in my case, the fallback value would never be accessed/needed.

I've raised the issue on their Github: https://github.com/whatwg/html/issues/8778
by TomHTML
Wed Jan 25, 2023 3:45 pm
Forum: Technical Support
Topic: Possible error: Video element with source inside P
Replies: 2
Views: 2487

Possible error: Video element with source inside P

When validating this code: <p> <video autoplay="" playsinline="" loop="" muted="" title="Animation"> <source src="my-video.webm" type="video/webm"> <source src="my-video.mp4" type="video/mp4"> <source src="...
by TomHTML
Wed Jan 25, 2023 12:19 pm
Forum: Technical Support
Topic: Bug: media query value for "sizes" attribute of <source> element not recognized
Replies: 5
Views: 3480

Bug: media query value for "sizes" attribute of <source> element not recognized

The new (2023) version of the validator does not accept a media query for the "sizes" attribute of a <source> element. For example: <!DOCTYPE html> <html lang="en-us"> <head> <meta charset="utf-8"> <title>Srcset Sizes Test</title> <meta name="viewport" content...
by TomHTML
Sat Jul 23, 2022 6:06 pm
Forum: Technical Support
Topic: Validator can't see certain headings wrapped in DIV elements
Replies: 3
Views: 2737

Re: Validator can't see certain headings wrapped in DIV elements

Thanks for attending to this so quickly!

I believe the reasoning is that DIVs are only used for styling, so they're discounted over other elements, but if so, the documentation at Mozilla should be clearer.

Thanks again!
by TomHTML
Sat Jul 23, 2022 9:24 am
Forum: Technical Support
Topic: Validator can't see certain headings wrapped in DIV elements
Replies: 3
Views: 2737

Validator can't see certain headings wrapped in DIV elements

In the new version of the Validator (perhaps present in previous versions, but I didn't notice it until I installed the new version), headings wrapped in DIVs that are a child element of a SECTION are not recognized by the validator. For example: <body> <header> <h1>My stuff</h1> </header> <main> <h...
by TomHTML
Wed Apr 06, 2022 12:31 am
Forum: Technical Support
Topic: How to validate the resulting HTML of an SPA?
Replies: 7
Views: 8682

Re: How to validate the resulting HTML of an SPA?

Thanks for that! It works like a charm...it's very helpful!
by TomHTML
Mon Jan 10, 2022 9:36 pm
Forum: Technical Support
Topic: How to copy DOM directly from Chrome or other browser
Replies: 1
Views: 2784

How to copy DOM directly from Chrome or other browser

I've just migrated to a new Win11 machine, and in setting up the validator I've forgotten what settings are required so that I can select the <html> element in the DOM display in Chrome's DevTools and have it immediately be copied into the Validator and validated. This worked on my old setup, but I'...