Real Fake DOMs: Verified Browser Rendering

نویسندگان

  • Jeffrey Cai
  • Jason Goodman
چکیده

In this writeup we present Real Fake DOMs, the first Coq development to our knowledge to model Document Object Models or the graphics primitives necessary to model browser rendering algorithms in a shallow embedding. As a first foray into verifying algorithms in this area, we model simplified DOMs with representative backgroundcolor, width, height, position, top, left, and overflow attributes. Additional features could in theory be implemented in terms of these, though it would be impractical to support a richer set of features in an exploratory development. Building on these models, we define and verify a series of renderers inspired by basic optimiations used in web browsers. We prove correctness by showing functional equivalence to an unoptimized reference renderer. Perhaps our biggest takeaway is a reminder that straightforward facts can require immense effort to prove if algorithms are not designed with verification in mind.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Rendering Fake Soft Shadows with Smoothies

We present a new method for real-time rendering of shadows in dynamic scenes. Our approach builds on the shadow map algorithm by attaching geometric primitives that we call “smoothies” to the objects’ silhouettes. The smoothies give rise to fake shadows that appear qualitatively like soft shadows, without the cost of densely sampling an area light source. The soft shadow edges hide objectionabl...

متن کامل

Browserbite: Cross-Browser Testing via Image Processing

Cross-browser compatibility testing is concerned with identifying perceptible differences in the way a Web page is rendered across different browsers or configurations thereof. Existing automated cross-browser compatibility testing methods are generally based on Document Object Model (DOM) analysis, or in some cases, a combination of DOM analysis with screenshot capture and image processing. DO...

متن کامل

INTERNET ARCHIVE FOR ELECTRONIC MUSIC IAEM-iARS (INTERNET AUDIO RENDERING SYSTEM)

The Internet Archive for Electronic Music (IAEM) is intended to be a platform to access an extensive and distributed archive of electronic music. It combines collaborative tools, real time signal processing on the client side and the content of the archive to a powerful teaching, research and publishing tool. The internet Audio Rendering System (iARS) refers to the client browser extension whic...

متن کامل

Volume Ray Casting in WebGL

Real-time 3D computer graphics systems usually handle surface description models (i.e. B-Rep representations) and use surface rendering techniques for visualization. Common 3D model formats such as VRML, X3D, COLLADA, U3D (some intended for the Web) are based entirely on polygonal meshes or higher order surfaces. Real-time rendering of polygon models is straightforward and raster render algorit...

متن کامل

A REAL-TIME AUDIO RENDERING SYSTEM FOR THE INTERNET (iARS), EMBEDDED IN AN ELECTRONIC MUSIC LIBRARY (IAEM)

The internet Audio Rendering System (iARS) is an Internet browser extension extending the browser’s capabilities with real-time signal processing. The proposed system allows to receive audio streams from the Internet and apply various audio algorithms with no additional computational power needed from the server. iARS is part of the Internet Archive of Electronic Music (IAEM) project which is a...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2017