Responsive Web Design (RWD) enables web applications to adapt to the characteristics of different devices such as screen size which is important for mobile browsing. Today, the only W3C standard to support this adaptability is CSS media queries. However, using media queries it is impossible to create applications in a modular way, because responsive elements then always depend on the global context. Hence, responsive elements can only be reused if the global context is exactly the same. This makes it extremely challenging to develop large responsive applications, because the lack of true modularity makes certain requirement changes either impossible or expensive to realize.

In this paper we extend RWD to also include responsive modules, i.e., modules that adapt their design based on their local context, independently of the global context. We present the ELQ project which implements our approach. ELQ is a novel implementation of so-called element queries which generalize CSS media queries. Importantly, our design conforms to existing web specifications, enabling adoption on a large scale. ELQ is designed to be heavily extensible using plugins. Experimental results show speed-ups of the core algorithms of up to 37x compared to previous approaches.

Tue 4 Apr

proweb-2017-papers
13:30 - 15:00: ProWeb 2017 - Collaboration and responsiveness on the future web at D2.09
proweb-2017-papers13:30 - 13:55
Talk
proweb-2017-papers13:55 - 14:20
Talk
Lucas Wiener, Tomas Ekholm, Philipp HallerKTH Royal Institute of Technology
Pre-print
proweb-2017-papers14:20 - 14:45
Talk
Pre-print
proweb-2017-papers14:45 - 15:00
Talk