W3C home > Mailing lists > Public > www-style@w3.org > June 2013

extract elements from within the "overflow viewport" ?

From: Netmosfera <netmosfera@gmail.com>
Date: Sat, 01 Jun 2013 03:26:22 +0200
Message-ID: <51A94DBE.60402@gmail.com>
To: W3C Style <www-style@w3.org>

tooltips, flyouts, dropdowns are very common use cases for positioned 
but these are not actually possible when they are displayed inside a 
small overflow:hidden element


<div style="overflow:hidden;background:menu"> <!-- tabbox scroll helpers -->
<a style="position:relative;">
     <ul style="background:menu;position:absolute;top:100%;left:0;">
         <li>Save</li><li>Save All</li><li>Close</li><li>This will not 
be visible</li>

it would be a good idea to have a way to extract these elements from 
within the "overflow viewport"

(using for example ul{overflow-extract:1;} where 1 represents is the 
first closest "overflow:hidden|scroll element" in the ancestors tree)

do we need this instead of simply positioning the element outside the 
overflow's viewport? here are some PROs:

- proper/natural event tree propagation/event retargeting
- proper/natural tree styling

Received on Saturday, 1 June 2013 01:27:17 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:30 UTC