Strict whitespace test
See original GitHub issueDescribe the Issue
Overly strict whitespace tests
Affected Page
Your code
<fieldset>
<label>Enter Your First Name: <input> </label>
<label>Enter Your Last Name: <input> </label>
<label>Enter Your Email: <input> </label>
<label>Create a New Password: <input> </label>
</fieldset>
Expected behavior
The space between the input element and closing label tag shouldn’t matter, right?
Screenshots
No response
System
All
Additional context
No response
Issue Analytics
- State:
- Created a year ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
How strict should you be about indentation/white space?
Yes, that's the right response. The indentation style should be consistent for all code. A big part of the value of consistent indentation ......
Read more >Rendering modes - white-space (strict) - QuirksMode
Test page for white-space: pre in quirks and strict mode. This paragraph has many tabs, hard returns and spaces in its source code....
Read more >Trailing whitespace in pem test vector · Issue #3522 - GitHub
This causes a failure in the openssl test suite when I attempt to apply strict whitespace checking for private key loading.
Read more >[llvm-dev] [FileCheck] Fix --strict-whitespace --match ... - Mailing Lists
cat DUMP | FileCheck CHECK --strict-whitespace --match-full-lines >>>> CHECK:3:16: error: expected string not found in input >>>> // CHECK-NEXT: bla3 ...
Read more >test/Format/style-on-command-line.cpp - native_client ... - Google Git
RUN: clang-format -style="{BasedOnStyle: Google, IndentWidth: 8}" %t.cpp | FileCheck -strict-whitespace -check-prefix=CHECK1 %s.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Trim won’t remove spaces in the middle. We are comparing against:
'Enter Your First Name: <input>'Yes, this line while be unnecessary.
And the test will check for `EnterYourLastName:’
But I maybe misunderstanding something