Closed
Bug 1218232
Opened 9 years ago
Closed 2 years ago
Reader View should style <code> blocks differently from the rest of text so they stand out more/less
Categories
(Toolkit :: Reader Mode, enhancement, P3)
Tracking
()
VERIFIED
FIXED
100 Branch
Tracking | Status | |
---|---|---|
firefox100 | --- | verified |
People
(Reporter: leewangzhong, Assigned: hujintao)
References
(Blocks 1 open bug)
Details
(Whiteboard: [about-reader-ui])
Attachments
(1 file)
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0 Build ID: 20151014143721 Steps to reproduce: Example page: https://ponyfoo.com/articles/es6-promises-in-depth (archived: https://web.archive.org/web/20150928184517/http://ponyfoo.com/articles/es6-promises-in-depth) Start Reader View, and scroll down to one of the code examples. For example, there's a <pre> block after, "Often, a single parameter is used." Actual results: The code lines are properly in monospace, but there's no visual separator from the rest of the text. Expected results: There should be some sort of box around the code block. ---- The original text has a yellowish background for blocks of code. The Readability extension, which uses #F8F8F8 as its normal background color for daytime reading (night: #212324), has #FFF as the background color for <pre> (night: #2B2E2F).
Component: Untriaged → Reader Mode
OS: Unspecified → All
Product: Firefox → Toolkit
Hardware: Unspecified → All
Updated•8 years ago
|
Severity: normal → enhancement
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
See Also: → 1140967
Summary: Reader View doesn't delimit code examples from rest of text → Reader View should style <code> blocks differently from the rest of text so they stand out more/less
Updated•8 years ago
|
Whiteboard: [about-reader-ui]
Updated•2 years ago
|
Assignee: nobody → hujintao
Status: NEW → ASSIGNED
Pushed by mtigley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e44d0e91e9ea Style code block differently from the rest of text. r=mtigley
Comment 3•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox100:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
Updated•2 years ago
|
Flags: qe-verify+
Comment 4•2 years ago
|
||
This enhancement is implemented on Firefox 100.0b5(20220412185818) and Nightly 101.0a1(20220414092955). Tested on Win10, Ubuntu 20.04 and macOS 11.
You need to log in
before you can comment on or make changes to this bug.
Description
•