Comments (4)
Makes sense. Would be good to add test coverage too.
from html.
BTW, aligning to the start is no-op, so it should just be setting text-align: justify
. That's what browsers do:
- https://searchfox.org/mozilla-central/rev/c26f7461fc2a51196b7f517c7f98a1e271dc9ec0/dom/html/nsGenericHTMLElement.cpp#1126
- https://searchfox.org/wubkat/rev/65d5c80e4e183ab1f41152388e975fdd33cbe259/Source/WebCore/html/HTMLDivElement.cpp#63
- https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/html/html_div_element.cc;drc=255545e69e987c1eb10501801890f68ed152bbee;l=50
from html.
So you're saying we should remove
, and to align descendants to the left
?
Looking at the code I wonder if Chromium and WebKit are problematic as they would automatically support new text-align
values it seems.
from html.
So you're saying we should remove
Yes
Looking at the code I wonder if Chromium and WebKit are problematic
Good point, align="end"
sets text-align: end
there, but not on Firefox.
from html.
Related Issues (20)
- Improve DX of element reference attributes by allowing relative references instead of only ids HOT 6
- Render-blocking: the definition of "created by its node document's parser" is a little bit vague HOT 5
- UI Element Attribute
- "Align descendants" believes used margins are altered in overconstrained cases, but that's no longer the case HOT 2
- Clarification on Element reflected IDL attribute steps HOT 9
- Different parsing behavior for "</script>" and "</div>" strings HOT 1
- Nested comment tags. HOT 8
- It's not clear how constraint validation works for FACE if the 'validation anchor' is null HOT 2
- Upcoming WHATNOT meeting on 3/7/2024 HOT 8
- Add a way to automatically get script license and unminified code (if available)
- Clarify context of ยง4.12.2 the `<noscript>` element HOT 1
- Clarification for nested `kbd` elements
- textarea: attribute for content type
- Provide a mechanism to trigger the fetch of compression dictionaries HOT 9
- Making the WHATNOT meeting cadence weekly HOT 1
- Add `requestClose()` function to HTMLDialogElement HOT 1
- Link rel=modulepreload synchronously fires `load` event if script exists in module map HOT 1
- Worklet termination HOT 2
- Declaratively open popovers (and other elements?) on page load
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from html.