simevidas,
@simevidas@mastodon.social avatar

@FirefoxNightly I wanted to know why the title links on Google search results pages don’t get underlined. Turns out, if the link has an inline-block child, that child is not underlined. This is true in all browsers.

Test page: https://jsbin.com/qebodif/edit?html,css,output

edit: Found the relevant spec text:

> Note that text decorations are not propagated to […] the contents of atomic inline-level descendants such as inline blocks https://drafts.csswg.org/css-text-decor/#line-decoration

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • mdbf
  • GTA5RPClips
  • JUstTest
  • tacticalgear
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • ethstaker
  • anitta
  • provamag3
  • Leos
  • cisconetworking
  • megavids
  • lostlight
  • All magazines