Open Bug 1467114 Opened 6 years ago Updated 2 years ago

BBC - highlighter for navigation spans extends to body edge

Categories

(Core :: Layout, defect, P3)

defect

Tracking

()

Tracking Status
firefox-esr52 --- affected
firefox-esr60 --- affected
firefox60 --- affected
firefox61 --- affected
firefox62 --- affected

People

(Reporter: cfogel, Unassigned)

Details

(Whiteboard: [webcompat])

Attachments

(2 files)

[Affected versions]:
- Firefox  52.8.1 ESR, 60.0.2ESR, 60.0.1, 62.0a1 (2018-06-06) 

[Affected platforms]:
- Windows 10x64, Ubuntu 16.04LTS, MacOS 10.11

[Steps to reproduce]:
1. Launch Firefox;
2. Navigate to https://www.bbc.com/news/video_and_audio/headlines
3. Click on any video;
4. Press tab a couple of times;
5. Grab the left/right navigator arrows from the Top Video section and drag down

[Expected result]:
- The highlight/dashed line is marking the selected item.

[Actual result]:
- The dashed line extends all the way to the left edge of the container
 
[Additional notes]:
- attached screenshot with the issue;
- on Ubuntu, there is no need for step 4;
- on MacOS step 4 needs to be repeated a couple of times;
So this is because the line contains a <span>Previous</span> with "text-indent: -1000em;" and we render the outline around that element.

I don't know what other browsers do. Maybe they don't take out-of-view content into consider when drawing outline? That may make sense, I guess.
Component: CSS Parsing and Computation → Layout
Priority: -- → P3
Whiteboard: [webcompat]
Attached file simple testcase
This is a simplified testcase.

The second block should be exactly the same case as BBC, while the first block is a further simplification which may be a related but different issue.
OK, so it seems Blink doesn't count text into outline at all in this case, which is probably wrong spec-wise I guess...

Migrating Webcompat whiteboard priorities to project flags. See bug 1547409.

Webcompat Priority: --- → ?

See bug 1547409. Migrating whiteboard priority tags to program flags.

It appears that the BBC fixed this on their site, but the core issue still exists.

Webcompat Priority: ? → revisit
Severity: normal → S3
Webcompat Priority: revisit → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: