mirror of
https://github.com/servo/servo
synced 2026-04-25 17:15:48 +02:00
Page:
Meeting 2014 01 21
Pages
Adding a new WebIDL binding
Alternative Logo Proposals and Related Swag
Asynchronous WebAssembly compilation project
Austin Oxidation
Autogeneration of style structs
Basic SVG support project
Beginner's guide to rebasing and squashing
Benchmarking
Benchmarks
Bots
Browser Engine Research
Build Errors FAQ
Buildbot administration
Building for Android
Building for Magic Leap
Building for UWP
Building on ARM desktop Linux
Building
CI Services we use
CSS parse error reporting
CSSOM student project
Canvas rendering project
Cargo upgrade service project
Code rust concurrency
Code Review
Code of Conduct
Coding standards
Compiler upgrade recipes
Compositor Layer Design
Contributing
Control Servo using WebDriver
Creating and viewing WARC web archives in Servo
Creating new OpenSSL Windows binary distributions
Cross compiling from linux to mac
Crowbot
Css selector matching meeting 2013 07 19
DOM Design
DOM documentation
DOM missing pieces
Debugging JS web compat issues
Debugging and editing tools
Debugging
Design
Developer tools student project
Devtools CSS errors
Devtools plans
Devtools
Diagnosing SpiderMonkey JIT issues
Eric Atkinson visit 2013 09 10
Events and sundry
Expand HTTP request response monitoring
Fetch improvement project
Firefox Reality release notes
FirefoxReality build
Firewall setup for servo master1
Focus student project
Form validation student project
GSoC project brainstorming
Garbage collected DOM
Getting started with layout
GitHub Labels
Github & Critic PR handling 101
Github workflow
Glossary
Governance
Graphics toolkit integration
HTML parser improvement project
HTMLElement binding conversion
HTTP archive support project
HTTP library requirements
Hawaii Rooting
High priority content for layout
Highfive
HoloLens 2 test plan
Home
How to generate GStreamer binaries for CI
Image load conformance student project
Image maps project
Implement HTML charset parsing project
Implement ImageBitmap project
Implement missing WebAudio automation student project
Implement support for missing XMLHttpRequest APIs
Implement worker modules
Implementing a web standard (RGSoC)
Improve specification conformance of unicode bidi library
Incremental flow tree construction
Infrastructure
Integrate xml5ever
Intern project brainstorming
Intern projects
JS objects, wrappers, and cross origin concerns 2013 08 07
Layout 2020
Layout Overview
Layout resources
Layout revamp ideas
Leo meyerovich visit 2013 07 22
Linux sandboxing
London Oxidation
London Security
Meeting 2014 10 27
Meeting 2014 12 08
Meeting 2012 02 08
Meeting 2012 02 16
Meeting 2012 07 20
Meeting 2013 04 01
Meeting 2013 04 15
Meeting 2013 04 22
Meeting 2013 04 29
Meeting 2013 05 06
Meeting 2013 05 13
Meeting 2013 05 20
Meeting 2013 06 03
Meeting 2013 06 10
Meeting 2013 06 14
Meeting 2013 06 17
Meeting 2013 06 24
Meeting 2013 07 01
Meeting 2013 07 15
Meeting 2013 07 22
Meeting 2013 07 29
Meeting 2013 08 05
Meeting 2013 08 12
Meeting 2013 08 19
Meeting 2013 09 09
Meeting 2013 09 16
Meeting 2013 09 23
Meeting 2013 09 30
Meeting 2013 10 14
Meeting 2013 10 21
Meeting 2013 10 28
Meeting 2013 11 04
Meeting 2013 11 18
Meeting 2013 11 25
Meeting 2013 12 02
Meeting 2013 12 09
Meeting 2013 12 16
Meeting 2014 01 06
Meeting 2014 01 13
Meeting 2014 01 21
Meeting 2014 01 27
Meeting 2014 02 03
Meeting 2014 02 10
Meeting 2014 02 24
Meeting 2014 03 10
Meeting 2014 03 17
Meeting 2014 03 24
Meeting 2014 03 31
Meeting 2014 04 07
Meeting 2014 04 14
Meeting 2014 04 21
Meeting 2014 04 28
Meeting 2014 05 05
Meeting 2014 05 13
Meeting 2014 05 19
Meeting 2014 06 09
Meeting 2014 06 17
Meeting 2014 06 23
Meeting 2014 06 30
Meeting 2014 07 07
Meeting 2014 07 14
Meeting 2014 07 21
Meeting 2014 07 29
Meeting 2014 08 04
Meeting 2014 08 11
Meeting 2014 08 12
Meeting 2014 08 18
Meeting 2014 08 25
Meeting 2014 09 08
Meeting 2014 09 15
Meeting 2014 09 22
Meeting 2014 09 29
Meeting 2014 10 06
Meeting 2014 10 13
Meeting 2014 10 20
Meeting 2014 11 10
Meeting 2014 11 17
Meeting 2014 11 24
Meeting 2014 12 15
Meeting 2015 01 05
Meeting 2015 01 12
Meeting 2015 01 26
Meeting 2015 02 09
Meeting 2015 02 23
Meeting 2015 03 02
Meeting 2015 03 16
Meeting 2015 03 30
Meeting 2015 04 06
Meeting 2015 04 13
Meeting 2015 04 27
Meeting 2015 05 04
Meeting 2015 05 11
Meeting 2015 05 18
Meeting 2015 06 01
Meeting 2015 06 08
Meeting 2015 06 15
Meeting 2015 07 06
Meeting 2015 07 13
Meeting 2015 07 27
Meeting 2015 08 10
Meeting 2015 08 17
Meeting 2015 08 24
Meeting 2015 08 31
Meeting 2015 09 14
Meeting 2015 09 21
Meeting 2015 09 28
Meeting 2015 10 05
Meeting 2015 10 12
Meeting 2015 10 19
Meeting 2015 10 26
Meeting 2015 11 02
Meeting 2015 11 09
Meeting 2015 11 16
Meeting 2015 11 30
Meeting 2016 01 04
Meeting 2016 01 11
Meeting 2016 01 25
Meeting 2016 02 01
Meeting 2016 02 08
Meeting 2016 02 22
Meeting 2016 03 07
Meeting 2016 03 21
Meeting Devtools Servo 2
Meetings
Microdata project
Minutes Hackathon 2012 03 27
Missing DOM features project
More ServiceWorker support project
More developer tools student project
Mozlandia Automation
Mozlandia B2S
Mozlandia JS
Mozlandia Rust In Gecko
Mozlandia WPT
Mozlandia gfx
Mozlando Devtools Servo
Mozlando Oxidation
Mozlando SM Servo
Mozlando Servo Bluetooth
Mozlando Servo MagicDOM
Mozlando Servo SMStrings
Mutation observer project
Mutation testing project
NCSU student projects
Network security project
Off main thread HTML parsing project
Offscreen canvas improvements project
Offscreen canvas project
Orlando Oxidation 2018
Oxidation 2015 11 05
Persistent sessions student project
Preparing ARM libraries for CI
Priority of CSS properties
Priority of DOM implementation
Priority of dom bindings
Private browsing student project
Profiling
Project proposal deadlines
Prototype JS form controls student project
Prototype ways of splitting the script crate
Publishing a new ANGLE NuGet version
Publishing a new app store release
Push vs Pull for caching
Random web content project
Refactor GLES2 student project
Refactor bluetooth support student project
Remaining work
Removing push notifications from IRC hooks
Replace C libraries student project
Report new contributors project
Representation of computed style
Research
Reviewer
Roadmap
Running Web Platform Tests on Servo
Rust HTML parser
Rust SpiderMonkey debugger API
Rust cssparser code walk 2013 08 02
SaltStack Administration
San Francisco Oxidation
Servo Benchmarking Report (December 2024)
Servo Benchmarking Report (November 2024)
Servo Benchmarking Report (October 2024)
Servo Layout Engines Report
Servo and SpiderMonkey Report
Servo for Gecko Developers
Specification Links
SpiderMonkey related tasks
SpiderMonkey infodump
SpiderMonkey upgrade details
Storage student project
Streaming webassembly student project
Strings
Student project brainstorm
Student projects
Styling overview
Stylo hacking guide
Summer of Code 2014: Implement XMLHttpRequest
Summer of Code 2016: Fetch API
Summer of Code 2016: File support
Summer of Code 2016: ServiceWorker infrastructure
Summer of Code projects
Summit meeting 2013 09 09
Support WebDriver based tests project
Syncing web platform tests (WPT)
TaskCluster
Testing
Tools
Tracking intermittent failures over time project
Transcription Notes from Servo Architecture talk in Suwon
Transcription notes from rust patterns talk in suwon
Transcription parallelism
Transcription rust concurrency
Transcription rust runtime
Transription layout and acid2
Trinity College Dublin student projects
UPenn student projects
Updating the Rust compiler used by Servo
Upgrading non taskcluster linux CI machines
Upgrading the UWP gstreamer binaries
Upgrading the windows LLVM binaries
Upgrading wptrunner
Using DOM types
Using Rust Spidermonkey Prototype
Using WebWorker Prototype
Version 0.1
Videos and presentations
WebAudio JS interfaces student project
WebAudio nodes student project
WebCompatBug
WebSocket student project
Webdriver student project
Webdriver tests student project
Webrender Overview
Whistler 2019 notes
Whistler Bugzilla
Whistler FFOS
Whistler GFX
Whistler Houdini1
Whistler Houdini2
Whistler Necko
Whistler Oxidation 2019
Work items for new contributors
Workweek COW DOM
Workweek alt js
Workweek android arm
Workweek boot 2 servo
Workweek compiler lints
Workweek displaylist
Workweek dogfooding
Workweek encoding
Workweek generated content
Workweek governance
Workweek graphics stack
Workweek graphics toolkit
Workweek incremental layout
Workweek js bindings status
Workweek layers
Workweek layers2
Workweek pixels
Workweek rasterization
Workweek reftests
Workweek roadmap
Workweek script crate
Workweek security
Workweek string interning
Workweek tables
Workweek writing modes
XML parser student project
infra triage notes
jQuery status
webxr.today support
Clone
1
Meeting 2014 01 21
Lars Bergstrom edited this page 2014-01-21 16:47:07 -08:00
Table of Contents
Agenda
- Servo workweek
Attending
- larsberg, jack, pcwalton, jdm, ibnc, simonsapin, brson, samsung
workweek
- jack: I'm working on fixing up CSS matching
- pcwalton: I'm working on speeding up parallel layout
- simon: I'm rebasing some Rust changes
- jdm: I'm doing the JSManaged work to remove @-boxes in layout
- larsberg: I'm fixing ref tests and improving the android port
- ibnc: working on position:fixed, creating ref tests, and fixing iframe issues
list items in acid2
- simonsapin: there are four list items. one has display:none.
- jack: oh, this PR includes cascading the list items. Are there any ref tests for that PR?
- samsung: not yet. today we will add ref tests.
- simonsapin: for inside, it's easy because the marker is just text (like inline elements). for position:outside, it is harder to get it outside
- pcwalton: so you need a separate flow that is the list flow? Not just a block flow?
- jack: we control the indentation, don't we? if the list markers are outside the list, they are some number of ems outside the list, right? we should be able to have the exact same ref test
- simonsapin: maybe. depends on how we implement it.
- jack: hopefully you can come up with a ref test for it. If not, that's OK. but we should have some ref tests. Simon also suggested we use these w3c spec tests. I will send an email with the test link, and I'll send one with the CSS2.1 features. Using a couple (not all!) of the tests there would help. For example, on overflow:hidden, there are some CSS2.1 tests that do not work. I have added those tests to the bug so that we can check them. We should do the same thing for these list elements. A bug with some tests listed: https://github.com/mozilla/servo/issues/1290 The CSS2.1 tests are here: http://test.csswg.org/suites/css2.1/20110323/html4/toc.html
- jack: we will review PRs. Do you have any questions?
Questions about :hover
- parkjaemon: two PRs related to some features. Can we talk about those :hover comments?
- jdm: Preventdefault does not stop hover. And Gecko sends out mouse events every time the mouse moves for hover.
- jack: Should we be re-building the displaylist?
- pcwalton: Yes, I believe so.
- jack: Do we need that support to implement hover?
- jdm: DOM events is the correct way to do it.
- pcwalton: which requires us to rebuild the displaylist. events go first to layout and then you build the display list and then figure out what node to send it to.
- jack: But we already support clicking on links. Can't we do hover the exact same way?
- pcwalton: The difference is that we don't want to flood layout every time you move the mouse.
- jdm: Gecko just sends out the mouse events and is building display lists.
- simonsapin: when gecko does selector matching, it sets bits on elements that have :hover, which makes them available.
- pcwalton: The only thing I can think to do otherwise is cache the previous displaylist.
- jack: what do we do now?
- pcwalton: we try to cache the previous display list. As you move the mouse around, we can just perform hit testing on the display list. Then we can use that bit (like gecko does, indicating if something is affected by hover).. no. As you mouse over, you have to always send an event to script. But the :hover may change properties of the DOM causing a repaint, which requires asking layout to reflow.
- jack: So, the first thing to do is to get mouse move events working into script.
- pcwalton: We could do a reflow every time you move the mouse to determine which item you are hovering over. That is step 2.
- jack: How do you know which element you are over?
- pcwalton: Layout needs to know the position of the mouse.
- jdm: Mouse move goes through each element in the DOM. If they do not have a hover event registered, they do not set it. (All elements have mousemove event handler and check for mouse over self)
- pcwalton: Script should then set the hover state as a bit on the element. Then, layout selector matching can query that bit. So, just add another method to LayoutNode that is getHoverState, and then you need to trigger a reflow on every mouse move. (this is a different step 2). Eventually we can make this faster.
- jdm: We do not have infrastructure for handling events on our DOM objects right now. They all go through script. Only addEventListener is hooked up. Clicking on links is hardcoded to skip DOM events and follow a link.
- jack: Should we implement hover without adding the DOM events?
- jdm: We should set up event handling so that it works in our own rust code from the DOM. We should fix the events to be handled properly from DOM events instead of hacking it to work in layout like we did for click events.
- jack: I'll first fix click events to work the right way. Then, others can implement hover in terms of the work that jack does (using DOM events through rust event handlers). Issue #790 (https://github.com/mozilla/servo/issues/790 ). jdm will open a bug for how to fix click handlers which jack will fix. Then we can do hover on top of that work, which is what works for hover on ACID2.
- jack: Did that discussion help?
- parkjaemon: yes.
overflow:hidden
- jack: who worked on overflow:hidden?
- parkjaemon: nobody is assigned to it.
- jack: There are some bugs in it. Does it work for ACID2?
- sammykim: no, we did not. https://github.com/mozilla/servo/issues/1290 and I added some tests for it that fail, but I didn't check if it passes for ACID2. I'm not sure what's going wrong there, but if you could take a look at it, that would be good.
servo on android
- jack: did lars' latest response fix it for you? servo on android?
- aydinkim: I have tried to solve the problem, but I did not update it. I updated the issue page on the wiki. I have some questions in there.
- jack: what SDK version? API level?
- aydinkim: API: 18
- larsberg: I am using r9 and API level 18 as well.
- jack: releng is setting up the android buildbot. NDK 8 and API 16 .
- larsberg: Rust requires 18.
- jack: is that new?
- brson: All I know is we require 18. do you know why?
- larsberg: there is a bug with weak symbols.
- jack: I need them to make new packages for us at NDK 9 and API 18. This is also a problem for our Lion bugs (thoguh that is going away).
- brson: Maybe that is a Rust bug and we should support older SDKs.
- jack: will you do that?
- brson: No.
- jack: We will use NDK9 and SDK/API18. Our release engineering team does not want to support multiple things, but can.
- larsberg: aydinkim - please check to see if the _rust_crate_map symbol is shown or not appearing (https://github.com/mozilla/servo/issues/1495 ). I am sorry I was slow to reply the last two days - I was traveling and had poor internet access.
- jack: brson, how is the android tester going for rust?
- brson: Going well. I have not seen a green build, but it is almost complete. The failures are not random, it is just hard to keep working because we regress minor features as code is added to Rust. Right now, it is external syntactic extensions that are causing cross-compilation failures. I am working on that now. We are at the point where android kind of works consistently.
- jack: Can you gate the build on it?
- brson: No.
- jack: Are we close? If we could gate them, these checkins would not not pass. What's stopping us?
- larsberg: We need one green build...
- brson: Yes, we're always one commit behind from having everything work.
- larsberg: Could xfail something and say break nothing new...
- brson: I am doing that.
- jack: I do not know when we will have servo android buildbot
- larsberg: Can we just run our own?
- brson: We could contract some people out to make them for us.
- jack: So, at least we have android building. Hopefully we will help get it working on your android machines and we should have everything fixed before the next rust upgrade. If we do not get the android buildbot in place, we will set up another machine on brson's desk.