Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maybe add some tests for successive <pre> items #4

Closed
PerBothner opened this issue Jan 23, 2016 · 1 comment
Closed

maybe add some tests for successive <pre> items #4

PerBothner opened this issue Jan 23, 2016 · 1 comment

Comments

@PerBothner
Copy link

Maybe you could add a test for successive <pre> items? E.g:

<pre>line1</pre><pre>line2</pre>

The reason is that while Firefox (46.0a1) gets this correct (IMO i.e. a single newline between the texts) when it comes to innerText, it puts two newlines between them when doing a Copy. So adding a test would I think help clarify what the "correct" behavior is

@zcorpan
Copy link

zcorpan commented Mar 14, 2017

Test added to web-platform-tests; this can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants