NEW 241304
Implement text-justify: none;
https://bugs.webkit.org/show_bug.cgi?id=241304
Summary Implement text-justify: none;
Tim Nguyen (:ntim)
Reported 2022-06-04 05:41:20 PDT
The original implementation for legacy layout in bug 135349 had the issue that it didn't take in account text-align-last: justify; (if text-align is different than justify). IFC does not implement text-justify: none. So I removed the existing legacy layout implementation of text-justify: none in https://github.com/WebKit/WebKit/pull/1308 to avoid confusion. I think it should be easy to add support for both modern and legacy layouts, however it's probably worth refactoring to avoid duplicating the logic.
Attachments
Tim Nguyen (:ntim)
Comment 1 2022-06-04 05:45:49 PDT
One testcase that would be nice to add is: text-align: end; text-align-last: justify; text-justify: none; Currently, I think legacy layout handles this incorrectly, as the last line will still be justified.
Radar WebKit Bug Importer
Comment 2 2022-06-11 05:42:15 PDT
Alexsander Borges Damaceno
Comment 3 2024-12-16 19:27:46 PST
Note You need to log in before you can comment on or make changes to this bug.