krinkle, (edited )
@krinkle@fosstodon.org avatar

"Google Sites" now supports embedding images.

What you want: <img style="margin: 0 auto;">

What you get:

  • ~100 HTML elements, including 57 unique CSS class names across 83 attributes, 30 hidden DIVs, 3 iframes, 2 external script tags, 2 inline script tags, and 1 actual <img> tag.
  • the <img> is inside an iframe, nested 3 (!) levels of iframes deep.
  • an image cut off in both X and Y directions.
  • not one, but two unwanted scrollbars.

tennoseremel,
@tennoseremel@lor.sh avatar

@krinkle We need to go deeper…

fredbrooker,
@fredbrooker@witter.cz avatar

@krinkle that's called Google Engineering :)))

one of my clients paid $50 for a website overhaul = 60 JS and CSS includes, because that Bangladeshi coder doesn't know anything about making 4 simple pages with 10 WebP images

simevidas,
@simevidas@mastodon.social avatar

@krinkle The issue of the image being cut off could be prevented if browsers fit images by default (max-width: 100%). I’d like to understand why they can’t or don’t want to do that.

legoktm,
@legoktm@wikis.world avatar

@krinkle are the iframes plausibly for security/isolation or just clearly something silly?

kornel,
@kornel@mastodon.social avatar

@legoktm @krinkle Two out of three frames have explicitly relaxed restrictions.

It looks more like a very generic embedding abstraction, where the abstraction went too far.

fredbrooker,
@fredbrooker@witter.cz avatar

@kornel @legoktm @krinkle

kindly, I thought that Google Sites is a dead project so far

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