Comment by amiga386

Comment by amiga386 4 days ago

9 replies

I love how simple the HTML/CSS is. Absolute positioning with really large left: values.

    #saturn {
        position: absolute;
        left: 412397px;
        height: 34px;
        width: 65px;
        fill: #ffa043;
    }
neuroelectron 4 days ago

Caused Brave in iOS to crash. I have a newer iPad mini with 12GB ram too. But luckily It didn't crash until I tried to close the tab.

  • pc86 4 days ago

    This seems like a browser issue more than anything else. Yes it's "weird" to have millions of pixels horizontally on a page that is only a few thousand pixels tall, but it seems like an absolutely reasonable edge case that the browser should support.

    • zhengyi13 4 days ago

      I feel there's a joke here about "edge" cases from scrolling ridiculously long horizontal distances, but I'm not smart enough to make it.

      • wltr 3 days ago

        And then it’s asking for Internet Explorer joke then, as an explorer something, not I’m not able to come up with it either.

    • Sharlin 4 days ago

      “Why not save space by storing dimensions as uint16 internally?”

      • Dylan16807 3 days ago

        For the record, this HN page is already about halfway to overflowing uint16. The most popular HN page in the last day would overflow uint16.

2OEH8eoCRo0 4 days ago

We have come full circle. I'd imagine that px uses a surprising amount of abstraction.

  • cheschire 3 days ago

    Anyone that has tried to absolutely position shapes on an Excel spreadsheet via code would probably agree.

    Who the hell decided to make EMU’s??

Zardoz84 4 days ago

Huge values could rise problems on IE (if someone keep using it and supporting it)