Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upLayout 2020: Implement basic white-space: pre support #26447
Conversation
highfive
commented
May 6, 2020
|
Heads up! This PR modifies the following files:
|
highfive
commented
May 6, 2020
|
@bors-servo try=wpt-2020 |
Layout 2020: Implement basic white-space: pre support With these changes `<pre>` and `<br>` preserve spaces and force line breaks appropriately. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #26440 - [x] There are tests for these changes
|
|
|
|
|
|
This seems ok to me but it needs a rebase. |
|
What's the status on this, boss? |
|
The status is that I investigated the test failures and discovered that supporting break elements made pre elements render incorrectly, which led to #26754. I haven't figured out if there's a more-optimal solution yet. |
|
@bors-servo try=wpt |
Layout 2020: Implement basic white-space: pre support With these changes `<pre>` and `<br>` preserve spaces and force line breaks appropriately. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #26440 - [x] There are tests for these changes
|
The hard drive that contained all of my investigations for #26754 died, and I've been focusing on FxR release management recently. I think the changes in this PR are an improvement over the status quo and don't make the affected code any more difficult to reason about, so we should probably proceed with getting this landed. |
|
@bors-servo try=wpt-2020 retry |
Layout 2020: Implement basic white-space: pre support With these changes `<pre>` and `<br>` preserve spaces and force line breaks appropriately. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #26440 - [x] There are tests for these changes
|
|
|
@bors-servo try=wpt-2020 |
Layout 2020: Implement basic white-space: pre support With these changes `<pre>` and `<br>` preserve spaces and force line breaks appropriately. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #26440 - [x] There are tests for these changes
|
|
|
@bors-servo r+ |
|
|
Layout 2020: Implement basic white-space: pre support With these changes `<pre>` and `<br>` preserve spaces and force line breaks appropriately. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #26440 - [x] There are tests for these changes
|
|
|
@bors-servo retry
|
Layout 2020: Implement basic white-space: pre support With these changes `<pre>` and `<br>` preserve spaces and force line breaks appropriately. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #26440 - [x] There are tests for these changes
|
|
|
@bors-servo retry |
|
|
jdm commentedMay 6, 2020
With these changes
<pre>and<br>preserve spaces and force line breaks appropriately../mach build -ddoes not report any errors./mach test-tidydoes not report any errors