WebKit Bugzilla
Attachment 357429 Details for
Bug 192750
: SLL: innerText should preserve leading whitespace when the out-of-flow (or float) element starts with collapsed new line(s).
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Test case
simple-line-layout-innerText-space.html (text/html), 495 bytes, created by
Carlos Garcia Campos
on 2018-12-17 01:23:56 PST
(
hide
)
Description:
Test case
Filename:
MIME Type:
Creator:
Carlos Garcia Campos
Created:
2018-12-17 01:23:56 PST
Size:
495 bytes
patch
obsolete
><!DOCTYPE html> ><html> ><head> ><script src="../../resources/js-test-pre.js"></script> ></head> ><body> ><div id="test"> > foo. ><div style="position: absolute; top: 50; left: 50"> > bar ></div> ></div> ><script> >description("This tests that space is added after a dot for inner text in simple line layout mode"); >shouldBe("document.getElementById('test').innerText", "'foo. bar'"); >document.getElementById('test').innerHTML= ""; ></script> ><script src="../../resources/js-test-post.js"></script> ></body>
<!DOCTYPE html> <html> <head> <script src="../../resources/js-test-pre.js"></script> </head> <body> <div id="test"> foo. <div style="position: absolute; top: 50; left: 50"> bar </div> </div> <script> description("This tests that space is added after a dot for inner text in simple line layout mode"); shouldBe("document.getElementById('test').innerText", "'foo. bar'"); document.getElementById('test').innerHTML= ""; </script> <script src="../../resources/js-test-post.js"></script> </body>
View Attachment As Raw
Actions:
View
Attachments on
bug 192750
: 357429 |
357439