Open Bug 1516965 Opened 2 years ago Updated 2 years ago

table th text-overflow:ellipsis and text-overflow incorrect

Categories

(Core :: Layout: Text and Fonts, defect, P3)

defect

Tracking

()

People

(Reporter: wflixu, Unassigned)

References

()

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

Steps to reproduce:

my test case 


Actual results:

in the cell of name , the text hasn't overflow ,but this '...' has already  appeared


Expected results:

not  show "..."
Attachment #9033755 - Attachment description: 2018-12-31_211326.png → 2018-12-31_211326.png test case https://jsfiddle.net/wflixu/u5nqga3y/8/
test case 

https://jsfiddle.net/wflixu/u5nqga3y/8/
I was able to reproduce the issue by following the test case from Comment 0 in Windows 10 64 bit with Firefox 64.0 .

Hence, I am confirming the bug.
Status: UNCONFIRMED → NEW
QA Whiteboard: [triagemonth-2019-01]
Component: Untriaged → General
Ever confirmed: true
Blocks: 312156
Component: General → CSS Parsing and Computation
Product: Firefox → Core
Version: 63 Branch → 7 Branch
That <th> also contains a <span> with :before and :after set. Presumably that's affecting the amount of space our code thinks is available.

Direct link to testcase:

https://fiddle.jshell.net/wflixu/u5nqga3y/8/show/light/
Component: CSS Parsing and Computation → Layout: Text and Fonts
Priority: -- → P3
Version: 7 Branch → Trunk
You need to log in before you can comment on or make changes to this bug.