Closed Bug 23701 Opened 26 years ago Closed 19 years ago

::first-letter and broken IMG elements

Categories

(Core :: Layout, defect, P3)

defect

Tracking

()

VERIFIED WORKSFORME
Future

People

(Reporter: ian, Unassigned)

References

()

Details

(Keywords: css1, testcase, Whiteboard: [Hixie-P3][CSS1-2.4])

Attachments

(3 files)

The first-line pseudo-element does not work when the first character of the line is part of the ALT text of a broken IMG element. When someone starts working on this ping me and I'll make a simpler test case. For the moment, a test case for this can be found near the bottom of my huge IMG alt text 2 test suite page: http://www.bath.ac.uk/%7Epy8ieh/internet/eviltests/IMGalt2.html (Things to consider: What if there is some punctuation before the IMG element, and the first alphanumeric character is in the alt text. See bug 23605.)
Keywords: css1
Migrating from {css1} to css1 keyword. The {css1}, {css2}, {css3} and {css-moz} radars should now be considered deprecated in favour of keywords. I am *really* sorry about the spam...
post-beta css-1 compliance issue
Target Milestone: M16
Summary: {css1} first-line and broken IMG elements → first-line and broken IMG elements
mine! mine mine mine! all mine! whoo-hoo!
Assignee: kipp → buster
minor glitches are at risk for FCS. Moving to M20.
Status: NEW → ASSIGNED
Target Milestone: M16 → M20
redistributing bugs across future milestones, sorry for the spam
Target Milestone: M20 → M22
This bug is marked "future" because it is not critical for RTM (Release To Manufacturing). If anyone believes it is critical, please explain why in this bug.
Target Milestone: M22 → Future
Agreed that this is non-critical for RTM.
QA Contact: petersen → py8ieh=bugzilla
Summary: first-line and broken IMG elements → first-line and broken IMG elements [INLINE]
Keywords: mozilla1.1
Whiteboard: [Hixie-P3]
Build reassigning Buster's bugs to Marc.
Assignee: buster → attinasi
Status: ASSIGNED → NEW
Whiteboard: [Hixie-P3] → [Hixie-P3][CSS1-2.3]
Confirmed using FizzillaCFM/2002070913. The ".first:first-letter" styles aren't applied to the ALT text. Setting All/All and adding qawanted as it still wants a simplified testcase.
Keywords: qawanted
OS: Windows 98 → All
Hardware: PC → All
Attached file Testcase —
Testcase using :first-line and :first-letter on image ALT text :first-line works OK :first-letter, not OK
Adding KW testcase. Is this bug really Layout and not Style System?
Keywords: qawanted → testcase
Summary: first-line and broken IMG elements [INLINE] → :first-line and broken IMG elements [INLINE]
Summary: :first-line and broken IMG elements [INLINE] → :first-letter and broken IMG elements [INLINE]
Whiteboard: [Hixie-P3][CSS1-2.3] → [Hixie-P3][CSS1-2.4]
Assignee: attinasi → nobody
Summary: :first-letter and broken IMG elements [INLINE] → :first-letter and broken IMG elements
Keywords: mozilla1.1
Summary: :first-letter and broken IMG elements → ::first-letter and broken IMG elements
Attached file Testcase2 —
:first-letter, :first-line and stuff have become ::first-letter and ::first-line. With this testcase it seems to work in current trunk builds. So I guess this has been fixed somehow, already.
Hmm, it seems to work offline, but online it doesn't work.
Attached file Testcase3 —
When not using a src attribute for the <img> at all, the testcase works. I think this bug might be dependent on bug 8253, as with testcase2, Mozilla is first trying to fetch the image, which takes a while.
Depends on: 8253
WFM Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20061206 Minefield/3.0a1
Status: NEW → RESOLVED
Closed: 19 years ago
Flags: in-testsuite?
Resolution: --- → WORKSFORME
Status: RESOLVED → VERIFIED
Flags: in-testsuite?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: